Widow – Diff between revs 5 and 6
?pathlinks?
Rev 5 | Rev 6 | |||
---|---|---|---|---|
Line 6... | Line 6... | |||
6 | using Widow.Properties; |
6 | using Widow.Properties; |
|
7 | using Widow.Serialization; |
7 | using Widow.Serialization; |
|
Line 8... | Line 8... | |||
8 | |
8 | |
|
9 | namespace Widow |
9 | namespace Widow |
|
10 | { |
10 | { |
|
11 | public partial class Form1 : Form |
11 | public partial class MainForm : Form |
|
12 | { |
12 | { |
|
Line 13... | Line 13... | |||
13 | #region Public Events & Delegates |
13 | #region Public Events & Delegates |
|
Line 30... | Line 30... | |||
30 | |
30 | |
|
Line 31... | Line 31... | |||
31 | #endregion |
31 | #endregion |
|
Line 32... | Line 32... | |||
32 | |
32 | |
|
33 | #region Constructors, Destructors and Finalizers |
33 | #region Constructors, Destructors and Finalizers |
|
34 | |
34 | |
|
- | 35 | public MainForm() |
||
35 | public Form1() |
36 | { |
|
36 | { |
37 | InitializeComponent(); |
|
37 | InitializeComponent(); |
38 | |
|
38 | // Bind to settings changed event. |
39 | // Bind to settings changed event. |
|
Line 39... | Line 40... | |||
39 | Settings.Default.SettingsLoaded += Default_SettingsLoaded; |
40 | Settings.Default.SettingsLoaded += Default_SettingsLoaded; |
|
Line 40... | Line 41... | |||
40 | Settings.Default.SettingsSaving += Default_SettingsSaving; |
41 | Settings.Default.SettingsSaving += Default_SettingsSaving; |
|
- | 42 | Settings.Default.PropertyChanged += Default_PropertyChanged; |
||
- | 43 | |
||
- | 44 | Natives.RegisterShellHookWindow(Handle); |
||
41 | Settings.Default.PropertyChanged += Default_PropertyChanged; |
45 | |
|
Line 42... | Line 46... | |||
42 | |
46 | LoadWindows().ContinueWith(task => |
|
43 | Natives.RegisterShellHookWindow(Handle); |
47 | { |
|
44 | |
48 | Apply = new Apply(this, Windows) {OnWindowCreate = Settings.Default.OnWindowCreate}; |