Widow – Diff between revs 5 and 6
?pathlinks?
Rev 5 | Rev 6 | |||
---|---|---|---|---|
1 |  |
1 |  |
|
2 | namespace Widow |
2 | namespace Widow |
|
3 | { |
3 | { |
|
4 | partial class Form1 |
4 | partial class MainForm |
|
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(MainForm)); |
|
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.onWindowCreateToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
|
25 | this.newToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
25 | this.newToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
|
26 | this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); |
26 | this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); |
|
27 | this.settingsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
27 | this.settingsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
|
28 | this.launchOnBootToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
28 | this.launchOnBootToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
|
29 | this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); |
29 | this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); |
|
30 | this.aboutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
30 | this.aboutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
|
31 | this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
31 | this.exitToolStripMenuItem = 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 = "Widow"; |
|
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 |
64 | // onWindowCreateToolStripMenuItem |
|
65 | // |
65 | // |
|
66 | this.onWindowCreateToolStripMenuItem.Checked = global::Widow.Properties.Settings.Default.OnWindowCreate; |
66 | this.onWindowCreateToolStripMenuItem.Checked = global::Widow.Properties.Settings.Default.OnWindowCreate; |
|
67 | this.onWindowCreateToolStripMenuItem.CheckOnClick = true; |
67 | this.onWindowCreateToolStripMenuItem.CheckOnClick = true; |
|
68 | this.onWindowCreateToolStripMenuItem.Name = "onWindowCreateToolStripMenuItem"; |
68 | this.onWindowCreateToolStripMenuItem.Name = "onWindowCreateToolStripMenuItem"; |
|
69 | this.onWindowCreateToolStripMenuItem.Size = new System.Drawing.Size(174, 22); |
69 | this.onWindowCreateToolStripMenuItem.Size = new System.Drawing.Size(180, 22); |
|
70 | this.onWindowCreateToolStripMenuItem.Text = "On Window Create"; |
70 | this.onWindowCreateToolStripMenuItem.Text = "On Window Create"; |
|
71 | this.onWindowCreateToolStripMenuItem.CheckedChanged += new System.EventHandler(this.OnWindowCreateToolStripMenuItem_CheckedChanged); |
71 | this.onWindowCreateToolStripMenuItem.CheckedChanged += new System.EventHandler(this.OnWindowCreateToolStripMenuItem_CheckedChanged); |
|
72 | // |
72 | // |
|
73 | // newToolStripMenuItem |
73 | // newToolStripMenuItem |
|
74 | // |
74 | // |
|
75 | this.newToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("newToolStripMenuItem.Image"))); |
75 | this.newToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("newToolStripMenuItem.Image"))); |
|
76 | this.newToolStripMenuItem.Name = "newToolStripMenuItem"; |
76 | this.newToolStripMenuItem.Name = "newToolStripMenuItem"; |
|
77 | this.newToolStripMenuItem.Size = new System.Drawing.Size(180, 22); |
77 | this.newToolStripMenuItem.Size = new System.Drawing.Size(180, 22); |
|
78 | this.newToolStripMenuItem.Text = "Edit Rules..."; |
78 | this.newToolStripMenuItem.Text = "Edit Rules..."; |
|
79 | this.newToolStripMenuItem.Click += new System.EventHandler(this.NewToolStripMenuItem_Click); |
79 | this.newToolStripMenuItem.Click += new System.EventHandler(this.NewToolStripMenuItem_Click); |
|
80 | // |
80 | // |
|
81 | // toolStripSeparator2 |
81 | // toolStripSeparator2 |
|
82 | // |
82 | // |
|
83 | this.toolStripSeparator2.Name = "toolStripSeparator2"; |
83 | this.toolStripSeparator2.Name = "toolStripSeparator2"; |
|
84 | this.toolStripSeparator2.Size = new System.Drawing.Size(177, 6); |
84 | this.toolStripSeparator2.Size = new System.Drawing.Size(177, 6); |
|
85 | // |
85 | // |
|
86 | // settingsToolStripMenuItem |
86 | // settingsToolStripMenuItem |
|
87 | // |
87 | // |
|
88 | this.settingsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { |
88 | this.settingsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { |
|
89 | this.launchOnBootToolStripMenuItem}); |
89 | this.launchOnBootToolStripMenuItem}); |
|
90 | this.settingsToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("settingsToolStripMenuItem.Image"))); |
90 | this.settingsToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("settingsToolStripMenuItem.Image"))); |
|
91 | this.settingsToolStripMenuItem.Name = "settingsToolStripMenuItem"; |
91 | this.settingsToolStripMenuItem.Name = "settingsToolStripMenuItem"; |
|
92 | this.settingsToolStripMenuItem.Size = new System.Drawing.Size(180, 22); |
92 | this.settingsToolStripMenuItem.Size = new System.Drawing.Size(180, 22); |
|
93 | this.settingsToolStripMenuItem.Text = "Settings"; |
93 | this.settingsToolStripMenuItem.Text = "Settings"; |
|
94 | // |
94 | // |
|
95 | // launchOnBootToolStripMenuItem |
95 | // launchOnBootToolStripMenuItem |
|
96 | // |
96 | // |
|
97 | this.launchOnBootToolStripMenuItem.Checked = global::Widow.Properties.Settings.Default.LaunchOnBoot; |
97 | this.launchOnBootToolStripMenuItem.Checked = global::Widow.Properties.Settings.Default.LaunchOnBoot; |
|
98 | this.launchOnBootToolStripMenuItem.CheckOnClick = true; |
98 | this.launchOnBootToolStripMenuItem.CheckOnClick = true; |
|
99 | this.launchOnBootToolStripMenuItem.Name = "launchOnBootToolStripMenuItem"; |
99 | this.launchOnBootToolStripMenuItem.Name = "launchOnBootToolStripMenuItem"; |
|
100 | this.launchOnBootToolStripMenuItem.Size = new System.Drawing.Size(158, 22); |
100 | this.launchOnBootToolStripMenuItem.Size = new System.Drawing.Size(158, 22); |
|
101 | this.launchOnBootToolStripMenuItem.Text = "Launch on Boot"; |
101 | this.launchOnBootToolStripMenuItem.Text = "Launch on Boot"; |
|
102 | this.launchOnBootToolStripMenuItem.CheckedChanged += new System.EventHandler(this.LaunchOnBootToolStripMenuItem_CheckedChanged); |
102 | this.launchOnBootToolStripMenuItem.CheckedChanged += new System.EventHandler(this.LaunchOnBootToolStripMenuItem_CheckedChanged); |
|
103 | // |
103 | // |
|
104 | // toolStripSeparator1 |
104 | // toolStripSeparator1 |
|
105 | // |
105 | // |
|
106 | this.toolStripSeparator1.Name = "toolStripSeparator1"; |
106 | this.toolStripSeparator1.Name = "toolStripSeparator1"; |
|
107 | this.toolStripSeparator1.Size = new System.Drawing.Size(177, 6); |
107 | this.toolStripSeparator1.Size = new System.Drawing.Size(177, 6); |
|
108 | // |
108 | // |
|
109 | // aboutToolStripMenuItem |
109 | // aboutToolStripMenuItem |
|
110 | // |
110 | // |
|
111 | this.aboutToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("aboutToolStripMenuItem.Image"))); |
111 | this.aboutToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("aboutToolStripMenuItem.Image"))); |
|
112 | this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem"; |
112 | this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem"; |
|
113 | this.aboutToolStripMenuItem.Size = new System.Drawing.Size(180, 22); |
113 | this.aboutToolStripMenuItem.Size = new System.Drawing.Size(180, 22); |
|
114 | this.aboutToolStripMenuItem.Text = "About"; |
114 | this.aboutToolStripMenuItem.Text = "About"; |
|
115 | this.aboutToolStripMenuItem.Click += new System.EventHandler(this.AboutToolStripMenuItem_Click); |
115 | this.aboutToolStripMenuItem.Click += new System.EventHandler(this.AboutToolStripMenuItem_Click); |
|
116 | // |
116 | // |
|
117 | // exitToolStripMenuItem |
117 | // exitToolStripMenuItem |
|
118 | // |
118 | // |
|
119 | this.exitToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("exitToolStripMenuItem.Image"))); |
119 | this.exitToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("exitToolStripMenuItem.Image"))); |
|
120 | this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; |
120 | this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; |
|
121 | this.exitToolStripMenuItem.Size = new System.Drawing.Size(180, 22); |
121 | this.exitToolStripMenuItem.Size = new System.Drawing.Size(180, 22); |
|
122 | this.exitToolStripMenuItem.Text = "Exit"; |
122 | this.exitToolStripMenuItem.Text = "Exit"; |
|
123 | this.exitToolStripMenuItem.Click += new System.EventHandler(this.ExitToolStripMenuItem_Click); |
123 | this.exitToolStripMenuItem.Click += new System.EventHandler(this.ExitToolStripMenuItem_Click); |
|
124 | // |
124 | // |
|
125 | // Form1 |
125 | // Form1 |
|
126 | // |
126 | // |
|
127 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); |
127 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); |
|
128 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
128 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
|
129 | this.ClientSize = new System.Drawing.Size(800, 450); |
129 | this.ClientSize = new System.Drawing.Size(800, 450); |
|
130 | this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); |
130 | this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); |
|
131 | this.Name = "Form1"; |
131 | this.Name = "MainForm"; |
|
132 | this.ShowInTaskbar = false; |
132 | this.ShowInTaskbar = false; |
|
133 | this.Text = "Form1"; |
133 | this.Text = "Form1"; |
|
134 | this.contextMenuStrip1.ResumeLayout(false); |
134 | this.contextMenuStrip1.ResumeLayout(false); |
|
135 | this.ResumeLayout(false); |
135 | this.ResumeLayout(false); |
|
136 | |
136 | |
|
137 | } |
137 | } |
|
138 | |
138 | |
|
139 | #endregion |
139 | #endregion |
|
140 | private System.Windows.Forms.NotifyIcon notifyIcon1; |
140 | private System.Windows.Forms.NotifyIcon notifyIcon1; |
|
141 | private System.Windows.Forms.ContextMenuStrip contextMenuStrip1; |
141 | private System.Windows.Forms.ContextMenuStrip contextMenuStrip1; |
|
142 | private System.Windows.Forms.ToolStripMenuItem newToolStripMenuItem; |
142 | private System.Windows.Forms.ToolStripMenuItem newToolStripMenuItem; |
|
143 | private System.Windows.Forms.ToolStripSeparator toolStripSeparator1; |
143 | private System.Windows.Forms.ToolStripSeparator toolStripSeparator1; |
|
144 | private System.Windows.Forms.ToolStripMenuItem aboutToolStripMenuItem; |
144 | private System.Windows.Forms.ToolStripMenuItem aboutToolStripMenuItem; |
|
145 | private System.Windows.Forms.ToolStripMenuItem exitToolStripMenuItem; |
145 | private System.Windows.Forms.ToolStripMenuItem exitToolStripMenuItem; |
|
146 | private System.Windows.Forms.ToolStripMenuItem applyToolStripMenuItem; |
146 | private System.Windows.Forms.ToolStripMenuItem applyToolStripMenuItem; |
|
147 | private System.Windows.Forms.ToolStripSeparator toolStripSeparator2; |
147 | private System.Windows.Forms.ToolStripSeparator toolStripSeparator2; |
|
148 | private System.Windows.Forms.ToolStripMenuItem settingsToolStripMenuItem; |
148 | private System.Windows.Forms.ToolStripMenuItem settingsToolStripMenuItem; |
|
149 | private System.Windows.Forms.ToolStripMenuItem launchOnBootToolStripMenuItem; |
149 | private System.Windows.Forms.ToolStripMenuItem launchOnBootToolStripMenuItem; |
|
150 | private System.Windows.Forms.ToolStripMenuItem onWindowCreateToolStripMenuItem; |
150 | private System.Windows.Forms.ToolStripMenuItem onWindowCreateToolStripMenuItem; |
|
151 | } |
151 | } |
|
152 | } |
152 | } |
|
153 | |
153 | |
|
154 | |
154 | |