From d89c51a1d3e24f2d7112fcbf237c49720205bba7 Mon Sep 17 00:00:00 2001 From: chylex <info@chylex.com> Date: Sun, 10 Apr 2016 18:08:06 +0200 Subject: [PATCH] Move TweetDeckBridge to Core.Handling namespace --- Core/FormBrowser.cs | 1 + Core/{ => Handling}/TweetDeckBridge.cs | 7 ++++++- TweetDick.csproj | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) rename Core/{ => Handling}/TweetDeckBridge.cs (70%) diff --git a/Core/FormBrowser.cs b/Core/FormBrowser.cs index 48c68ac0..5fd949bf 100644 --- a/Core/FormBrowser.cs +++ b/Core/FormBrowser.cs @@ -6,6 +6,7 @@ using CefSharp; using System.IO; using System.Text; +using TweetDick.Core.Handling; namespace TweetDick.Core{ public partial class FormBrowser : Form{ diff --git a/Core/TweetDeckBridge.cs b/Core/Handling/TweetDeckBridge.cs similarity index 70% rename from Core/TweetDeckBridge.cs rename to Core/Handling/TweetDeckBridge.cs index 1339ae25..e7b56ce0 100644 --- a/Core/TweetDeckBridge.cs +++ b/Core/Handling/TweetDeckBridge.cs @@ -1,5 +1,6 @@ using System.Windows.Forms; -namespace TweetDick.Core{ + +namespace TweetDick.Core.Handling{ class TweetDeckBridge{ private readonly FormBrowser form; @@ -7,6 +8,10 @@ public TweetDeckBridge(FormBrowser form){ this.form = form; } + public void OpenSettingsMenu(){ + MessageBox.Show("Settings"); + } + public void Log(string data){ System.Diagnostics.Debug.WriteLine(data); } diff --git a/TweetDick.csproj b/TweetDick.csproj index ea261d7a..846b3508 100644 --- a/TweetDick.csproj +++ b/TweetDick.csproj @@ -97,7 +97,7 @@ <Compile Include="Core\FormBackgroundWork.Designer.cs"> <DependentUpon>FormBackgroundWork.cs</DependentUpon> </Compile> - <Compile Include="Core\TweetDeckBridge.cs" /> + <Compile Include="Core\Handling\TweetDeckBridge.cs" /> <Compile Include="Migration\FormMigrationQuestion.cs"> <SubType>Form</SubType> </Compile>