Widow – Diff between revs 1 and 5

Subversion Repositories:
Rev:
Only display areas with differencesIgnore whitespace
Rev 1 Rev 5
1  1 
2 namespace Widow 2 namespace Widow
3 { 3 {
4 partial class Form1 4 partial class Form1
5 { 5 {
6 /// <summary> 6 /// <summary>
7 /// Required designer variable. 7 /// Required designer variable.
8 /// </summary> 8 /// </summary>
9 private System.ComponentModel.IContainer components = null; 9 private System.ComponentModel.IContainer components = null;
10   10  
11 #region Windows Form Designer generated code 11 #region Windows Form Designer generated code
12   12  
13 /// <summary> 13 /// <summary>
14 /// Required method for Designer support - do not modify 14 /// Required method for Designer support - do not modify
15 /// the contents of this method with the code editor. 15 /// the contents of this method with the code editor.
16 /// </summary> 16 /// </summary>
17 private void InitializeComponent() 17 private void InitializeComponent()
18 { 18 {
19 this.components = new System.ComponentModel.Container(); 19 this.components = new System.ComponentModel.Container();
20 System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); 20 System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
21 this.notifyIcon1 = new System.Windows.Forms.NotifyIcon(this.components); 21 this.notifyIcon1 = new System.Windows.Forms.NotifyIcon(this.components);
22 this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); 22 this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
23 this.applyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); 23 this.applyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
-   24 this.onWindowCreateToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
24 this.newToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); 25 this.newToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
25 this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); 26 this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
26 this.settingsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); 27 this.settingsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
27 this.launchOnBootToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); 28 this.launchOnBootToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
28 this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); 29 this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
29 this.aboutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); 30 this.aboutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
30 this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); 31 this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
31 this.onWindowCreateToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); -  
32 this.contextMenuStrip1.SuspendLayout(); 32 this.contextMenuStrip1.SuspendLayout();
33 this.SuspendLayout(); 33 this.SuspendLayout();
34 // 34 //
35 // notifyIcon1 35 // notifyIcon1
36 // 36 //
37 this.notifyIcon1.ContextMenuStrip = this.contextMenuStrip1; 37 this.notifyIcon1.ContextMenuStrip = this.contextMenuStrip1;
38 this.notifyIcon1.Icon = ((System.Drawing.Icon)(resources.GetObject("notifyIcon1.Icon"))); 38 this.notifyIcon1.Icon = ((System.Drawing.Icon)(resources.GetObject("notifyIcon1.Icon")));
39 this.notifyIcon1.Text = "notifyIcon1"; 39 this.notifyIcon1.Text = "notifyIcon1";
40 this.notifyIcon1.Visible = true; 40 this.notifyIcon1.Visible = true;
41 // 41 //
42 // contextMenuStrip1 42 // contextMenuStrip1
43 // 43 //
44 this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { 44 this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
45 this.applyToolStripMenuItem, 45 this.applyToolStripMenuItem,
46 this.newToolStripMenuItem, 46 this.newToolStripMenuItem,
47 this.toolStripSeparator2, 47 this.toolStripSeparator2,
48 this.settingsToolStripMenuItem, 48 this.settingsToolStripMenuItem,
49 this.toolStripSeparator1, 49 this.toolStripSeparator1,
50 this.aboutToolStripMenuItem, 50 this.aboutToolStripMenuItem,
51 this.exitToolStripMenuItem}); 51 this.exitToolStripMenuItem});
52 this.contextMenuStrip1.Name = "contextMenuStrip1"; 52 this.contextMenuStrip1.Name = "contextMenuStrip1";
53 this.contextMenuStrip1.Size = new System.Drawing.Size(181, 148); 53 this.contextMenuStrip1.Size = new System.Drawing.Size(181, 148);
54 // 54 //
55 // applyToolStripMenuItem 55 // applyToolStripMenuItem
56 // 56 //
57 this.applyToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { 57 this.applyToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
58 this.onWindowCreateToolStripMenuItem}); 58 this.onWindowCreateToolStripMenuItem});
59 this.applyToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("applyToolStripMenuItem.Image"))); 59 this.applyToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("applyToolStripMenuItem.Image")));
60 this.applyToolStripMenuItem.Name = "applyToolStripMenuItem"; 60 this.applyToolStripMenuItem.Name = "applyToolStripMenuItem";
61 this.applyToolStripMenuItem.Size = new System.Drawing.Size(180, 22); 61 this.applyToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
62 this.applyToolStripMenuItem.Text = "Apply..."; 62 this.applyToolStripMenuItem.Text = "Apply...";
63 // 63 //
-   64 // onWindowCreateToolStripMenuItem
-   65 //
-   66 this.onWindowCreateToolStripMenuItem.Checked = global::Widow.Properties.Settings.Default.OnWindowCreate;
-   67 this.onWindowCreateToolStripMenuItem.CheckOnClick = true;
-   68 this.onWindowCreateToolStripMenuItem.Name = "onWindowCreateToolStripMenuItem";
-   69 this.onWindowCreateToolStripMenuItem.Size = new System.Drawing.Size(174, 22);
-   70 this.onWindowCreateToolStripMenuItem.Text = "On Window Create";
-   71 this.onWindowCreateToolStripMenuItem.CheckedChanged += new System.EventHandler(this.OnWindowCreateToolStripMenuItem_CheckedChanged);
-   72 //
64 // newToolStripMenuItem 73 // newToolStripMenuItem
65 // 74 //
66 this.newToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("newToolStripMenuItem.Image"))); 75 this.newToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("newToolStripMenuItem.Image")));
67 this.newToolStripMenuItem.Name = "newToolStripMenuItem"; 76 this.newToolStripMenuItem.Name = "newToolStripMenuItem";
68 this.newToolStripMenuItem.Size = new System.Drawing.Size(180, 22); 77 this.newToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
69 this.newToolStripMenuItem.Text = "Edit Rules..."; 78 this.newToolStripMenuItem.Text = "Edit Rules...";
70 this.newToolStripMenuItem.Click += new System.EventHandler(this.NewToolStripMenuItem_Click); 79 this.newToolStripMenuItem.Click += new System.EventHandler(this.NewToolStripMenuItem_Click);
71 // 80 //
72 // toolStripSeparator2 81 // toolStripSeparator2
73 // 82 //
74 this.toolStripSeparator2.Name = "toolStripSeparator2"; 83 this.toolStripSeparator2.Name = "toolStripSeparator2";
75 this.toolStripSeparator2.Size = new System.Drawing.Size(177, 6); 84 this.toolStripSeparator2.Size = new System.Drawing.Size(177, 6);
76 // 85 //
77 // settingsToolStripMenuItem 86 // settingsToolStripMenuItem
78 // 87 //
79 this.settingsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { 88 this.settingsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
80 this.launchOnBootToolStripMenuItem}); 89 this.launchOnBootToolStripMenuItem});
81 this.settingsToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("settingsToolStripMenuItem.Image"))); 90 this.settingsToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("settingsToolStripMenuItem.Image")));
82 this.settingsToolStripMenuItem.Name = "settingsToolStripMenuItem"; 91 this.settingsToolStripMenuItem.Name = "settingsToolStripMenuItem";
83 this.settingsToolStripMenuItem.Size = new System.Drawing.Size(180, 22); 92 this.settingsToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
84 this.settingsToolStripMenuItem.Text = "Settings"; 93 this.settingsToolStripMenuItem.Text = "Settings";
85 // 94 //
86 // launchOnBootToolStripMenuItem 95 // launchOnBootToolStripMenuItem
87 // 96 //
88 this.launchOnBootToolStripMenuItem.Checked = global::Widow.Properties.Settings.Default.LaunchOnBoot; 97 this.launchOnBootToolStripMenuItem.Checked = global::Widow.Properties.Settings.Default.LaunchOnBoot;
89 this.launchOnBootToolStripMenuItem.CheckOnClick = true; 98 this.launchOnBootToolStripMenuItem.CheckOnClick = true;
90 this.launchOnBootToolStripMenuItem.Name = "launchOnBootToolStripMenuItem"; 99 this.launchOnBootToolStripMenuItem.Name = "launchOnBootToolStripMenuItem";
91 this.launchOnBootToolStripMenuItem.Size = new System.Drawing.Size(180, 22); 100 this.launchOnBootToolStripMenuItem.Size = new System.Drawing.Size(158, 22);
92 this.launchOnBootToolStripMenuItem.Text = "Launch on Boot"; 101 this.launchOnBootToolStripMenuItem.Text = "Launch on Boot";
93 this.launchOnBootToolStripMenuItem.CheckedChanged += new System.EventHandler(this.LaunchOnBootToolStripMenuItem_CheckedChanged); 102 this.launchOnBootToolStripMenuItem.CheckedChanged += new System.EventHandler(this.LaunchOnBootToolStripMenuItem_CheckedChanged);
94 // 103 //
95 // toolStripSeparator1 104 // toolStripSeparator1
96 // 105 //
97 this.toolStripSeparator1.Name = "toolStripSeparator1"; 106 this.toolStripSeparator1.Name = "toolStripSeparator1";
98 this.toolStripSeparator1.Size = new System.Drawing.Size(177, 6); 107 this.toolStripSeparator1.Size = new System.Drawing.Size(177, 6);
99 // 108 //
100 // aboutToolStripMenuItem 109 // aboutToolStripMenuItem
101 // 110 //
102 this.aboutToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("aboutToolStripMenuItem.Image"))); 111 this.aboutToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("aboutToolStripMenuItem.Image")));
103 this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem"; 112 this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem";
104 this.aboutToolStripMenuItem.Size = new System.Drawing.Size(180, 22); 113 this.aboutToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
105 this.aboutToolStripMenuItem.Text = "About"; 114 this.aboutToolStripMenuItem.Text = "About";
-   115 this.aboutToolStripMenuItem.Click += new System.EventHandler(this.AboutToolStripMenuItem_Click);
106 // 116 //
107 // exitToolStripMenuItem 117 // exitToolStripMenuItem
108 // 118 //
109 this.exitToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("exitToolStripMenuItem.Image"))); 119 this.exitToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("exitToolStripMenuItem.Image")));
110 this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; 120 this.exitToolStripMenuItem.Name = "exitToolStripMenuItem";
111 this.exitToolStripMenuItem.Size = new System.Drawing.Size(180, 22); 121 this.exitToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
112 this.exitToolStripMenuItem.Text = "Exit"; 122 this.exitToolStripMenuItem.Text = "Exit";
113 this.exitToolStripMenuItem.Click += new System.EventHandler(this.ExitToolStripMenuItem_Click); 123 this.exitToolStripMenuItem.Click += new System.EventHandler(this.ExitToolStripMenuItem_Click);
114 // 124 //
115 // onWindowCreateToolStripMenuItem -  
116 // -  
117 this.onWindowCreateToolStripMenuItem.Checked = global::Widow.Properties.Settings.Default.OnWindowCreate; -  
118 this.onWindowCreateToolStripMenuItem.CheckOnClick = true; -  
119 this.onWindowCreateToolStripMenuItem.Name = "onWindowCreateToolStripMenuItem"; -  
120 this.onWindowCreateToolStripMenuItem.Size = new System.Drawing.Size(180, 22); -  
121 this.onWindowCreateToolStripMenuItem.Text = "On Window Create"; -  
122 this.onWindowCreateToolStripMenuItem.CheckedChanged += new System.EventHandler(this.OnWindowCreateToolStripMenuItem_CheckedChanged); -  
123 // -  
124 // Form1 125 // Form1
125 // 126 //
126 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 127 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
127 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 128 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
128 this.ClientSize = new System.Drawing.Size(800, 450); 129 this.ClientSize = new System.Drawing.Size(800, 450);
129 this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); 130 this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
130 this.Name = "Form1"; 131 this.Name = "Form1";
131 this.ShowInTaskbar = false; 132 this.ShowInTaskbar = false;
132 this.Text = "Form1"; 133 this.Text = "Form1";
133 this.contextMenuStrip1.ResumeLayout(false); 134 this.contextMenuStrip1.ResumeLayout(false);
134 this.ResumeLayout(false); 135 this.ResumeLayout(false);
135   136  
136 } 137 }
137   138  
138 #endregion 139 #endregion
139 private System.Windows.Forms.NotifyIcon notifyIcon1; 140 private System.Windows.Forms.NotifyIcon notifyIcon1;
140 private System.Windows.Forms.ContextMenuStrip contextMenuStrip1; 141 private System.Windows.Forms.ContextMenuStrip contextMenuStrip1;
141 private System.Windows.Forms.ToolStripMenuItem newToolStripMenuItem; 142 private System.Windows.Forms.ToolStripMenuItem newToolStripMenuItem;
142 private System.Windows.Forms.ToolStripSeparator toolStripSeparator1; 143 private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
143 private System.Windows.Forms.ToolStripMenuItem aboutToolStripMenuItem; 144 private System.Windows.Forms.ToolStripMenuItem aboutToolStripMenuItem;
144 private System.Windows.Forms.ToolStripMenuItem exitToolStripMenuItem; 145 private System.Windows.Forms.ToolStripMenuItem exitToolStripMenuItem;
145 private System.Windows.Forms.ToolStripMenuItem applyToolStripMenuItem; 146 private System.Windows.Forms.ToolStripMenuItem applyToolStripMenuItem;
146 private System.Windows.Forms.ToolStripSeparator toolStripSeparator2; 147 private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
147 private System.Windows.Forms.ToolStripMenuItem settingsToolStripMenuItem; 148 private System.Windows.Forms.ToolStripMenuItem settingsToolStripMenuItem;
148 private System.Windows.Forms.ToolStripMenuItem launchOnBootToolStripMenuItem; 149 private System.Windows.Forms.ToolStripMenuItem launchOnBootToolStripMenuItem;
149 private System.Windows.Forms.ToolStripMenuItem onWindowCreateToolStripMenuItem; 150 private System.Windows.Forms.ToolStripMenuItem onWindowCreateToolStripMenuItem;
150 } 151 }
151 } 152 }
152   153  
153   154