Widow – Diff between revs 8 and 11

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 8 Rev 11
Line 41... Line 41...
41 // 41 //
42 this.notifyIcon1.ContextMenuStrip = this.contextMenuStrip1; 42 this.notifyIcon1.ContextMenuStrip = this.contextMenuStrip1;
43 this.notifyIcon1.Icon = ((System.Drawing.Icon)(resources.GetObject("notifyIcon1.Icon"))); 43 this.notifyIcon1.Icon = ((System.Drawing.Icon)(resources.GetObject("notifyIcon1.Icon")));
44 this.notifyIcon1.Text = "Widow"; 44 this.notifyIcon1.Text = "Widow";
45 this.notifyIcon1.Visible = true; 45 this.notifyIcon1.Visible = true;
-   46 this.notifyIcon1.Click += new System.EventHandler(this.NotifyIcon1_Click);
-   47 this.notifyIcon1.DoubleClick += new System.EventHandler(this.NotifyIcon1_DoubleClick);
46 // 48 //
47 // contextMenuStrip1 49 // contextMenuStrip1
48 // 50 //
49 this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { 51 this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
50 this.applyNowToolStripMenuItem, 52 this.applyNowToolStripMenuItem,
Line 55... Line 57...
55 this.settingsToolStripMenuItem, 57 this.settingsToolStripMenuItem,
56 this.toolStripSeparator1, 58 this.toolStripSeparator1,
57 this.aboutToolStripMenuItem, 59 this.aboutToolStripMenuItem,
58 this.exitToolStripMenuItem}); 60 this.exitToolStripMenuItem});
59 this.contextMenuStrip1.Name = "contextMenuStrip1"; 61 this.contextMenuStrip1.Name = "contextMenuStrip1";
60 this.contextMenuStrip1.Size = new System.Drawing.Size(181, 176); 62 this.contextMenuStrip1.Size = new System.Drawing.Size(135, 154);
61 // 63 //
62 // applyNowToolStripMenuItem 64 // applyNowToolStripMenuItem
63 // 65 //
64 this.applyNowToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("applyNowToolStripMenuItem.Image"))); 66 this.applyNowToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("applyNowToolStripMenuItem.Image")));
65 this.applyNowToolStripMenuItem.Name = "applyNowToolStripMenuItem"; 67 this.applyNowToolStripMenuItem.Name = "applyNowToolStripMenuItem";
66 this.applyNowToolStripMenuItem.Size = new System.Drawing.Size(180, 22); 68 this.applyNowToolStripMenuItem.Size = new System.Drawing.Size(134, 22);
67 this.applyNowToolStripMenuItem.Text = "Apply Now"; 69 this.applyNowToolStripMenuItem.Text = "Apply Now";
68 this.applyNowToolStripMenuItem.Click += new System.EventHandler(this.ApplyNowToolStripMenuItem_Click); 70 this.applyNowToolStripMenuItem.Click += new System.EventHandler(this.ApplyNowToolStripMenuItem_Click);
69 // 71 //
70 // toolStripSeparator3 72 // toolStripSeparator3
71 // 73 //
72 this.toolStripSeparator3.Name = "toolStripSeparator3"; 74 this.toolStripSeparator3.Name = "toolStripSeparator3";
73 this.toolStripSeparator3.Size = new System.Drawing.Size(177, 6); 75 this.toolStripSeparator3.Size = new System.Drawing.Size(131, 6);
74 // 76 //
75 // applyToolStripMenuItem 77 // applyToolStripMenuItem
76 // 78 //
77 this.applyToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { 79 this.applyToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
78 this.onWindowCreateToolStripMenuItem, 80 this.onWindowCreateToolStripMenuItem,
79 this.toolStripSeparator4, 81 this.toolStripSeparator4,
80 this.everyToolStripMenuItem, 82 this.everyToolStripMenuItem,
81 this.toolStripTextBox1}); 83 this.toolStripTextBox1});
82 this.applyToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("applyToolStripMenuItem.Image"))); 84 this.applyToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("applyToolStripMenuItem.Image")));
83 this.applyToolStripMenuItem.Name = "applyToolStripMenuItem"; 85 this.applyToolStripMenuItem.Name = "applyToolStripMenuItem";
84 this.applyToolStripMenuItem.Size = new System.Drawing.Size(180, 22); 86 this.applyToolStripMenuItem.Size = new System.Drawing.Size(134, 22);
85 this.applyToolStripMenuItem.Text = "Apply..."; 87 this.applyToolStripMenuItem.Text = "Apply...";
86 // 88 //
87 // onWindowCreateToolStripMenuItem 89 // onWindowCreateToolStripMenuItem
88 // 90 //
89 this.onWindowCreateToolStripMenuItem.Checked = global::Widow.Properties.Settings.Default.OnWindowCreate; 91 this.onWindowCreateToolStripMenuItem.Checked = global::Widow.Properties.Settings.Default.OnWindowCreate;
90 this.onWindowCreateToolStripMenuItem.CheckOnClick = true; 92 this.onWindowCreateToolStripMenuItem.CheckOnClick = true;
91 this.onWindowCreateToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("onWindowCreateToolStripMenuItem.Image"))); 93 this.onWindowCreateToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("onWindowCreateToolStripMenuItem.Image")));
92 this.onWindowCreateToolStripMenuItem.Name = "onWindowCreateToolStripMenuItem"; 94 this.onWindowCreateToolStripMenuItem.Name = "onWindowCreateToolStripMenuItem";
93 this.onWindowCreateToolStripMenuItem.Size = new System.Drawing.Size(180, 22); 95 this.onWindowCreateToolStripMenuItem.Size = new System.Drawing.Size(174, 22);
94 this.onWindowCreateToolStripMenuItem.Text = "On Window Create"; 96 this.onWindowCreateToolStripMenuItem.Text = "On Window Create";
95 this.onWindowCreateToolStripMenuItem.CheckedChanged += new System.EventHandler(this.OnWindowCreateToolStripMenuItem_CheckedChanged); 97 this.onWindowCreateToolStripMenuItem.CheckedChanged += new System.EventHandler(this.OnWindowCreateToolStripMenuItem_CheckedChanged);
96 // 98 //
97 // toolStripSeparator4 99 // toolStripSeparator4
98 // 100 //
99 this.toolStripSeparator4.Name = "toolStripSeparator4"; 101 this.toolStripSeparator4.Name = "toolStripSeparator4";
100 this.toolStripSeparator4.Size = new System.Drawing.Size(177, 6); 102 this.toolStripSeparator4.Size = new System.Drawing.Size(171, 6);
101 // 103 //
102 // everyToolStripMenuItem 104 // everyToolStripMenuItem
103 // 105 //
104 this.everyToolStripMenuItem.Checked = global::Widow.Properties.Settings.Default.ApplyEveryTimeEnabled; 106 this.everyToolStripMenuItem.Checked = global::Widow.Properties.Settings.Default.ApplyEveryTimeEnabled;
105 this.everyToolStripMenuItem.CheckOnClick = true; 107 this.everyToolStripMenuItem.CheckOnClick = true;
106 this.everyToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("everyToolStripMenuItem.Image"))); 108 this.everyToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("everyToolStripMenuItem.Image")));
107 this.everyToolStripMenuItem.Name = "everyToolStripMenuItem"; 109 this.everyToolStripMenuItem.Name = "everyToolStripMenuItem";
108 this.everyToolStripMenuItem.Size = new System.Drawing.Size(180, 22); 110 this.everyToolStripMenuItem.Size = new System.Drawing.Size(174, 22);
109 this.everyToolStripMenuItem.Text = "Every"; 111 this.everyToolStripMenuItem.Text = "Every";
110 this.everyToolStripMenuItem.CheckedChanged += new System.EventHandler(this.OnEveryToolStripMenuItem_CheckedChanged); 112 this.everyToolStripMenuItem.CheckedChanged += new System.EventHandler(this.OnEveryToolStripMenuItem_CheckedChanged);
111 // 113 //
112 // toolStripTextBox1 114 // toolStripTextBox1
113 // 115 //
Line 117... Line 119...
117 // 119 //
118 // newToolStripMenuItem 120 // newToolStripMenuItem
119 // 121 //
120 this.newToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("newToolStripMenuItem.Image"))); 122 this.newToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("newToolStripMenuItem.Image")));
121 this.newToolStripMenuItem.Name = "newToolStripMenuItem"; 123 this.newToolStripMenuItem.Name = "newToolStripMenuItem";
122 this.newToolStripMenuItem.Size = new System.Drawing.Size(180, 22); 124 this.newToolStripMenuItem.Size = new System.Drawing.Size(134, 22);
123 this.newToolStripMenuItem.Text = "Edit Rules..."; 125 this.newToolStripMenuItem.Text = "Edit Rules...";
124 this.newToolStripMenuItem.Click += new System.EventHandler(this.NewToolStripMenuItem_Click); 126 this.newToolStripMenuItem.Click += new System.EventHandler(this.NewToolStripMenuItem_Click);
125 // 127 //
126 // toolStripSeparator2 128 // toolStripSeparator2
127 // 129 //
128 this.toolStripSeparator2.Name = "toolStripSeparator2"; 130 this.toolStripSeparator2.Name = "toolStripSeparator2";
129 this.toolStripSeparator2.Size = new System.Drawing.Size(177, 6); 131 this.toolStripSeparator2.Size = new System.Drawing.Size(131, 6);
130 // 132 //
131 // settingsToolStripMenuItem 133 // settingsToolStripMenuItem
132 // 134 //
133 this.settingsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { 135 this.settingsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
134 this.launchOnBootToolStripMenuItem}); 136 this.launchOnBootToolStripMenuItem});
135 this.settingsToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("settingsToolStripMenuItem.Image"))); 137 this.settingsToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("settingsToolStripMenuItem.Image")));
136 this.settingsToolStripMenuItem.Name = "settingsToolStripMenuItem"; 138 this.settingsToolStripMenuItem.Name = "settingsToolStripMenuItem";
137 this.settingsToolStripMenuItem.Size = new System.Drawing.Size(180, 22); 139 this.settingsToolStripMenuItem.Size = new System.Drawing.Size(134, 22);
138 this.settingsToolStripMenuItem.Text = "Settings"; 140 this.settingsToolStripMenuItem.Text = "Settings";
139 // 141 //
140 // launchOnBootToolStripMenuItem 142 // launchOnBootToolStripMenuItem
141 // 143 //
142 this.launchOnBootToolStripMenuItem.Checked = global::Widow.Properties.Settings.Default.LaunchOnBoot; 144 this.launchOnBootToolStripMenuItem.Checked = global::Widow.Properties.Settings.Default.LaunchOnBoot;
Line 147... Line 149...
147 this.launchOnBootToolStripMenuItem.CheckedChanged += new System.EventHandler(this.LaunchOnBootToolStripMenuItem_CheckedChanged); 149 this.launchOnBootToolStripMenuItem.CheckedChanged += new System.EventHandler(this.LaunchOnBootToolStripMenuItem_CheckedChanged);
148 // 150 //
149 // toolStripSeparator1 151 // toolStripSeparator1
150 // 152 //
151 this.toolStripSeparator1.Name = "toolStripSeparator1"; 153 this.toolStripSeparator1.Name = "toolStripSeparator1";
152 this.toolStripSeparator1.Size = new System.Drawing.Size(177, 6); 154 this.toolStripSeparator1.Size = new System.Drawing.Size(131, 6);
153 // 155 //
154 // aboutToolStripMenuItem 156 // aboutToolStripMenuItem
155 // 157 //
156 this.aboutToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("aboutToolStripMenuItem.Image"))); 158 this.aboutToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("aboutToolStripMenuItem.Image")));
157 this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem"; 159 this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem";
158 this.aboutToolStripMenuItem.Size = new System.Drawing.Size(180, 22); 160 this.aboutToolStripMenuItem.Size = new System.Drawing.Size(134, 22);
159 this.aboutToolStripMenuItem.Text = "About"; 161 this.aboutToolStripMenuItem.Text = "About";
160 this.aboutToolStripMenuItem.Click += new System.EventHandler(this.AboutToolStripMenuItem_Click); 162 this.aboutToolStripMenuItem.Click += new System.EventHandler(this.AboutToolStripMenuItem_Click);
161 // 163 //
162 // exitToolStripMenuItem 164 // exitToolStripMenuItem
163 // 165 //
164 this.exitToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("exitToolStripMenuItem.Image"))); 166 this.exitToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("exitToolStripMenuItem.Image")));
165 this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; 167 this.exitToolStripMenuItem.Name = "exitToolStripMenuItem";
166 this.exitToolStripMenuItem.Size = new System.Drawing.Size(180, 22); 168 this.exitToolStripMenuItem.Size = new System.Drawing.Size(134, 22);
167 this.exitToolStripMenuItem.Text = "Exit"; 169 this.exitToolStripMenuItem.Text = "Exit";
168 this.exitToolStripMenuItem.Click += new System.EventHandler(this.ExitToolStripMenuItem_Click); 170 this.exitToolStripMenuItem.Click += new System.EventHandler(this.ExitToolStripMenuItem_Click);
169 // 171 //
170 // MainForm 172 // MainForm
171 // 173 //