From 4102473b4ba7fd8b35b0ba602da929a6efcecd8b Mon Sep 17 00:00:00 2001 From: srushti Date: Fri, 4 Sep 2009 18:20:41 +0530 Subject: [PATCH] first attempt of screen to configure folders while adding --- Azazel/Azazel.csproj | 8 +++++++ Azazel/PluggingIn/KeyboardShortcut.xaml | 2 +- Azazel/PluggingIn/KeyboardShortcut.xaml.cs | 7 ++++-- Azazel/View/FolderAddDetails.xaml | 14 +++++++++++ Azazel/View/FolderAddDetails.xaml.cs | 27 ++++++++++++++++++++++ 5 files changed, 55 insertions(+), 3 deletions(-) create mode 100644 Azazel/View/FolderAddDetails.xaml create mode 100644 Azazel/View/FolderAddDetails.xaml.cs diff --git a/Azazel/Azazel.csproj b/Azazel/Azazel.csproj index d0844a0..6c486f8 100644 --- a/Azazel/Azazel.csproj +++ b/Azazel/Azazel.csproj @@ -32,6 +32,7 @@ 1.0.0.%2a false true + 3.0.1927.0 true @@ -105,6 +106,10 @@ MSBuild:Compile Designer + + MSBuild:Compile + Designer + App.xaml Code @@ -185,6 +190,9 @@ + + FolderAddDetails.xaml + diff --git a/Azazel/PluggingIn/KeyboardShortcut.xaml b/Azazel/PluggingIn/KeyboardShortcut.xaml index db0997b..105f030 100644 --- a/Azazel/PluggingIn/KeyboardShortcut.xaml +++ b/Azazel/PluggingIn/KeyboardShortcut.xaml @@ -8,7 +8,7 @@ - \ No newline at end of file diff --git a/Azazel/PluggingIn/KeyboardShortcut.xaml.cs b/Azazel/PluggingIn/KeyboardShortcut.xaml.cs index 98d289e..1f70a4b 100644 --- a/Azazel/PluggingIn/KeyboardShortcut.xaml.cs +++ b/Azazel/PluggingIn/KeyboardShortcut.xaml.cs @@ -12,10 +12,13 @@ public partial class KeyboardShortcut { private readonly PersistanceHelper persistanceHelper; private Hotkey newHotkey; - public KeyboardShortcut(AppSettings settings, PersistanceHelper persistanceHelper) { + protected KeyboardShortcut() { + InitializeComponent(); + } + + public KeyboardShortcut(AppSettings settings, PersistanceHelper persistanceHelper) : this() { this.settings = settings; this.persistanceHelper = persistanceHelper; - InitializeComponent(); HookEvents(); } diff --git a/Azazel/View/FolderAddDetails.xaml b/Azazel/View/FolderAddDetails.xaml new file mode 100644 index 0000000..d9a2e8e --- /dev/null +++ b/Azazel/View/FolderAddDetails.xaml @@ -0,0 +1,14 @@ + + + + + + + + \ No newline at end of file diff --git a/Azazel/View/FolderAddDetails.xaml.cs b/Azazel/View/FolderAddDetails.xaml.cs new file mode 100644 index 0000000..3d50459 --- /dev/null +++ b/Azazel/View/FolderAddDetails.xaml.cs @@ -0,0 +1,27 @@ +using System; +using System.Collections.Generic; +using System.Text; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Shapes; + +namespace Azazel +{ + /// + /// Interaction logic for FolderAddDetails.xaml + /// + public partial class FolderAddDetails : Window + { + public FolderAddDetails() + { + this.InitializeComponent(); + + // Insert code required on object creation below this point. + } + } +} \ No newline at end of file