comparison ServerMonitor/Forms/SettingsForm.Designer.cs @ 8:052aa62cb42a

Single instance. Add autorun option. Add icons. General enhancements.
author Brad Greco <brad@bgreco.net>
date Sat, 09 Mar 2019 20:14:03 -0500
parents c1dffaac66fa
children 75ca86e0862c
comparison
equal deleted inserted replaced
7:8486ab7d2357 8:052aa62cb42a
42 this.OkButton = new System.Windows.Forms.Button(); 42 this.OkButton = new System.Windows.Forms.Button();
43 this.CancelSettingsButton = new System.Windows.Forms.Button(); 43 this.CancelSettingsButton = new System.Windows.Forms.Button();
44 this.KeepLogDaysInput = new System.Windows.Forms.NumericUpDown(); 44 this.KeepLogDaysInput = new System.Windows.Forms.NumericUpDown();
45 this.DeleteLabel = new System.Windows.Forms.Label(); 45 this.DeleteLabel = new System.Windows.Forms.Label();
46 this.DaysLabel = new System.Windows.Forms.Label(); 46 this.DaysLabel = new System.Windows.Forms.Label();
47 this.AutorunCheckBox = new System.Windows.Forms.CheckBox();
47 this.SeverityOptionsGroupBox.SuspendLayout(); 48 this.SeverityOptionsGroupBox.SuspendLayout();
48 ((System.ComponentModel.ISupportInitialize)(this.InformationIcon)).BeginInit(); 49 ((System.ComponentModel.ISupportInitialize)(this.InformationIcon)).BeginInit();
49 ((System.ComponentModel.ISupportInitialize)(this.WarningIcon)).BeginInit(); 50 ((System.ComponentModel.ISupportInitialize)(this.WarningIcon)).BeginInit();
50 ((System.ComponentModel.ISupportInitialize)(this.ErrorIcon)).BeginInit(); 51 ((System.ComponentModel.ISupportInitialize)(this.ErrorIcon)).BeginInit();
51 ((System.ComponentModel.ISupportInitialize)(this.KeepLogDaysInput)).BeginInit(); 52 ((System.ComponentModel.ISupportInitialize)(this.KeepLogDaysInput)).BeginInit();
62 this.SeverityOptionsGroupBox.Controls.Add(this.InformationIcon); 63 this.SeverityOptionsGroupBox.Controls.Add(this.InformationIcon);
63 this.SeverityOptionsGroupBox.Controls.Add(this.WarningLabel); 64 this.SeverityOptionsGroupBox.Controls.Add(this.WarningLabel);
64 this.SeverityOptionsGroupBox.Controls.Add(this.WarningIcon); 65 this.SeverityOptionsGroupBox.Controls.Add(this.WarningIcon);
65 this.SeverityOptionsGroupBox.Controls.Add(this.ErrorLabel); 66 this.SeverityOptionsGroupBox.Controls.Add(this.ErrorLabel);
66 this.SeverityOptionsGroupBox.Controls.Add(this.ErrorIcon); 67 this.SeverityOptionsGroupBox.Controls.Add(this.ErrorIcon);
67 this.SeverityOptionsGroupBox.Location = new System.Drawing.Point(12, 61); 68 this.SeverityOptionsGroupBox.Location = new System.Drawing.Point(12, 89);
68 this.SeverityOptionsGroupBox.Name = "SeverityOptionsGroupBox"; 69 this.SeverityOptionsGroupBox.Name = "SeverityOptionsGroupBox";
69 this.SeverityOptionsGroupBox.Size = new System.Drawing.Size(337, 104); 70 this.SeverityOptionsGroupBox.Size = new System.Drawing.Size(337, 104);
70 this.SeverityOptionsGroupBox.TabIndex = 0; 71 this.SeverityOptionsGroupBox.TabIndex = 8;
71 this.SeverityOptionsGroupBox.TabStop = false; 72 this.SeverityOptionsGroupBox.TabStop = false;
72 this.SeverityOptionsGroupBox.Text = "Severity settings"; 73 this.SeverityOptionsGroupBox.Text = "Severity settings";
73 // 74 //
74 // ErrorComboBox 75 // ErrorComboBox
75 // 76 //
76 this.ErrorComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; 77 this.ErrorComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
77 this.ErrorComboBox.FormattingEnabled = true; 78 this.ErrorComboBox.FormattingEnabled = true;
78 this.ErrorComboBox.Location = new System.Drawing.Point(125, 17); 79 this.ErrorComboBox.Location = new System.Drawing.Point(125, 17);
79 this.ErrorComboBox.Name = "ErrorComboBox"; 80 this.ErrorComboBox.Name = "ErrorComboBox";
80 this.ErrorComboBox.Size = new System.Drawing.Size(121, 21); 81 this.ErrorComboBox.Size = new System.Drawing.Size(121, 21);
81 this.ErrorComboBox.TabIndex = 8; 82 this.ErrorComboBox.TabIndex = 9;
82 // 83 //
83 // WarningComboBox 84 // WarningComboBox
84 // 85 //
85 this.WarningComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; 86 this.WarningComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
86 this.WarningComboBox.FormattingEnabled = true; 87 this.WarningComboBox.FormattingEnabled = true;
87 this.WarningComboBox.Location = new System.Drawing.Point(125, 44); 88 this.WarningComboBox.Location = new System.Drawing.Point(125, 44);
88 this.WarningComboBox.Name = "WarningComboBox"; 89 this.WarningComboBox.Name = "WarningComboBox";
89 this.WarningComboBox.Size = new System.Drawing.Size(121, 21); 90 this.WarningComboBox.Size = new System.Drawing.Size(121, 21);
90 this.WarningComboBox.TabIndex = 7; 91 this.WarningComboBox.TabIndex = 11;
91 // 92 //
92 // InformationComboBox 93 // InformationComboBox
93 // 94 //
94 this.InformationComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; 95 this.InformationComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
95 this.InformationComboBox.FormattingEnabled = true; 96 this.InformationComboBox.FormattingEnabled = true;
96 this.InformationComboBox.Location = new System.Drawing.Point(125, 71); 97 this.InformationComboBox.Location = new System.Drawing.Point(125, 71);
97 this.InformationComboBox.Name = "InformationComboBox"; 98 this.InformationComboBox.Name = "InformationComboBox";
98 this.InformationComboBox.Size = new System.Drawing.Size(121, 21); 99 this.InformationComboBox.Size = new System.Drawing.Size(121, 21);
99 this.InformationComboBox.TabIndex = 6; 100 this.InformationComboBox.TabIndex = 13;
100 // 101 //
101 // InformationLabel 102 // InformationLabel
102 // 103 //
103 this.InformationLabel.AutoSize = true; 104 this.InformationLabel.AutoSize = true;
104 this.InformationLabel.Location = new System.Drawing.Point(25, 74); 105 this.InformationLabel.Location = new System.Drawing.Point(25, 74);
105 this.InformationLabel.Name = "InformationLabel"; 106 this.InformationLabel.Name = "InformationLabel";
106 this.InformationLabel.Size = new System.Drawing.Size(94, 13); 107 this.InformationLabel.Size = new System.Drawing.Size(94, 13);
107 this.InformationLabel.TabIndex = 5; 108 this.InformationLabel.TabIndex = 12;
108 this.InformationLabel.Text = "Information action:"; 109 this.InformationLabel.Text = "&Information action:";
109 // 110 //
110 // InformationIcon 111 // InformationIcon
111 // 112 //
112 this.InformationIcon.Image = global::ServerMonitorApp.Properties.Resources.info; 113 this.InformationIcon.Image = global::ServerMonitorApp.Properties.Resources.info;
113 this.InformationIcon.Location = new System.Drawing.Point(6, 73); 114 this.InformationIcon.Location = new System.Drawing.Point(6, 73);
121 // 122 //
122 this.WarningLabel.AutoSize = true; 123 this.WarningLabel.AutoSize = true;
123 this.WarningLabel.Location = new System.Drawing.Point(25, 47); 124 this.WarningLabel.Location = new System.Drawing.Point(25, 47);
124 this.WarningLabel.Name = "WarningLabel"; 125 this.WarningLabel.Name = "WarningLabel";
125 this.WarningLabel.Size = new System.Drawing.Size(82, 13); 126 this.WarningLabel.Size = new System.Drawing.Size(82, 13);
126 this.WarningLabel.TabIndex = 3; 127 this.WarningLabel.TabIndex = 10;
127 this.WarningLabel.Text = "Warning action:"; 128 this.WarningLabel.Text = "&Warning action:";
128 // 129 //
129 // WarningIcon 130 // WarningIcon
130 // 131 //
131 this.WarningIcon.Image = global::ServerMonitorApp.Properties.Resources.warning; 132 this.WarningIcon.Image = global::ServerMonitorApp.Properties.Resources.warning;
132 this.WarningIcon.Location = new System.Drawing.Point(6, 46); 133 this.WarningIcon.Location = new System.Drawing.Point(6, 46);
140 // 141 //
141 this.ErrorLabel.AutoSize = true; 142 this.ErrorLabel.AutoSize = true;
142 this.ErrorLabel.Location = new System.Drawing.Point(25, 20); 143 this.ErrorLabel.Location = new System.Drawing.Point(25, 20);
143 this.ErrorLabel.Name = "ErrorLabel"; 144 this.ErrorLabel.Name = "ErrorLabel";
144 this.ErrorLabel.Size = new System.Drawing.Size(64, 13); 145 this.ErrorLabel.Size = new System.Drawing.Size(64, 13);
145 this.ErrorLabel.TabIndex = 1; 146 this.ErrorLabel.TabIndex = 8;
146 this.ErrorLabel.Text = "Error action:"; 147 this.ErrorLabel.Text = "&Error action:";
147 // 148 //
148 // ErrorIcon 149 // ErrorIcon
149 // 150 //
150 this.ErrorIcon.Image = global::ServerMonitorApp.Properties.Resources.error; 151 this.ErrorIcon.Image = global::ServerMonitorApp.Properties.Resources.error;
151 this.ErrorIcon.Location = new System.Drawing.Point(6, 19); 152 this.ErrorIcon.Location = new System.Drawing.Point(6, 19);
166 this.label1.Text = "Options"; 167 this.label1.Text = "Options";
167 // 168 //
168 // OkButton 169 // OkButton
169 // 170 //
170 this.OkButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); 171 this.OkButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
171 this.OkButton.Location = new System.Drawing.Point(193, 176); 172 this.OkButton.Location = new System.Drawing.Point(193, 204);
172 this.OkButton.Name = "OkButton"; 173 this.OkButton.Name = "OkButton";
173 this.OkButton.Size = new System.Drawing.Size(75, 23); 174 this.OkButton.Size = new System.Drawing.Size(75, 23);
174 this.OkButton.TabIndex = 2; 175 this.OkButton.TabIndex = 50;
175 this.OkButton.Text = "OK"; 176 this.OkButton.Text = "&OK";
176 this.OkButton.UseVisualStyleBackColor = true; 177 this.OkButton.UseVisualStyleBackColor = true;
177 this.OkButton.Click += new System.EventHandler(this.OkButton_Click); 178 this.OkButton.Click += new System.EventHandler(this.OkButton_Click);
178 // 179 //
179 // CancelSettingsButton 180 // CancelSettingsButton
180 // 181 //
181 this.CancelSettingsButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); 182 this.CancelSettingsButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
182 this.CancelSettingsButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; 183 this.CancelSettingsButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
183 this.CancelSettingsButton.Location = new System.Drawing.Point(274, 176); 184 this.CancelSettingsButton.Location = new System.Drawing.Point(274, 204);
184 this.CancelSettingsButton.Name = "CancelSettingsButton"; 185 this.CancelSettingsButton.Name = "CancelSettingsButton";
185 this.CancelSettingsButton.Size = new System.Drawing.Size(75, 23); 186 this.CancelSettingsButton.Size = new System.Drawing.Size(75, 23);
186 this.CancelSettingsButton.TabIndex = 3; 187 this.CancelSettingsButton.TabIndex = 51;
187 this.CancelSettingsButton.Text = "Cancel"; 188 this.CancelSettingsButton.Text = "&Cancel";
188 this.CancelSettingsButton.UseVisualStyleBackColor = true; 189 this.CancelSettingsButton.UseVisualStyleBackColor = true;
189 this.CancelSettingsButton.Click += new System.EventHandler(this.CancelSettingsButton_Click); 190 this.CancelSettingsButton.Click += new System.EventHandler(this.CancelSettingsButton_Click);
190 // 191 //
191 // KeepLogDaysInput 192 // KeepLogDaysInput
192 // 193 //
193 this.KeepLogDaysInput.Location = new System.Drawing.Point(130, 31); 194 this.KeepLogDaysInput.Location = new System.Drawing.Point(130, 59);
194 this.KeepLogDaysInput.Maximum = new decimal(new int[] { 195 this.KeepLogDaysInput.Maximum = new decimal(new int[] {
195 9999, 196 9999,
196 0, 197 0,
197 0, 198 0,
198 0}); 199 0});
199 this.KeepLogDaysInput.Name = "KeepLogDaysInput"; 200 this.KeepLogDaysInput.Name = "KeepLogDaysInput";
200 this.KeepLogDaysInput.Size = new System.Drawing.Size(50, 20); 201 this.KeepLogDaysInput.Size = new System.Drawing.Size(50, 20);
201 this.KeepLogDaysInput.TabIndex = 4; 202 this.KeepLogDaysInput.TabIndex = 6;
202 // 203 //
203 // DeleteLabel 204 // DeleteLabel
204 // 205 //
205 this.DeleteLabel.AutoSize = true; 206 this.DeleteLabel.AutoSize = true;
206 this.DeleteLabel.Location = new System.Drawing.Point(15, 33); 207 this.DeleteLabel.Location = new System.Drawing.Point(15, 61);
207 this.DeleteLabel.Name = "DeleteLabel"; 208 this.DeleteLabel.Name = "DeleteLabel";
208 this.DeleteLabel.Size = new System.Drawing.Size(113, 13); 209 this.DeleteLabel.Size = new System.Drawing.Size(113, 13);
209 this.DeleteLabel.TabIndex = 5; 210 this.DeleteLabel.TabIndex = 5;
210 this.DeleteLabel.Text = "Delete log entries after"; 211 this.DeleteLabel.Text = "&Delete log entries after";
211 // 212 //
212 // DaysLabel 213 // DaysLabel
213 // 214 //
214 this.DaysLabel.AutoSize = true; 215 this.DaysLabel.AutoSize = true;
215 this.DaysLabel.Location = new System.Drawing.Point(182, 33); 216 this.DaysLabel.Location = new System.Drawing.Point(182, 61);
216 this.DaysLabel.Name = "DaysLabel"; 217 this.DaysLabel.Name = "DaysLabel";
217 this.DaysLabel.Size = new System.Drawing.Size(29, 13); 218 this.DaysLabel.Size = new System.Drawing.Size(29, 13);
218 this.DaysLabel.TabIndex = 6; 219 this.DaysLabel.TabIndex = 7;
219 this.DaysLabel.Text = "days"; 220 this.DaysLabel.Text = "days";
221 //
222 // AutorunCheckBox
223 //
224 this.AutorunCheckBox.AutoSize = true;
225 this.AutorunCheckBox.Location = new System.Drawing.Point(18, 36);
226 this.AutorunCheckBox.Name = "AutorunCheckBox";
227 this.AutorunCheckBox.Size = new System.Drawing.Size(117, 17);
228 this.AutorunCheckBox.TabIndex = 3;
229 this.AutorunCheckBox.Text = "&Start with Windows";
230 this.AutorunCheckBox.UseVisualStyleBackColor = true;
220 // 231 //
221 // SettingsForm 232 // SettingsForm
222 // 233 //
223 this.AcceptButton = this.OkButton; 234 this.AcceptButton = this.OkButton;
224 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 235 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
225 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 236 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
226 this.CancelButton = this.CancelSettingsButton; 237 this.CancelButton = this.CancelSettingsButton;
227 this.ClientSize = new System.Drawing.Size(361, 211); 238 this.ClientSize = new System.Drawing.Size(361, 239);
239 this.Controls.Add(this.AutorunCheckBox);
228 this.Controls.Add(this.DaysLabel); 240 this.Controls.Add(this.DaysLabel);
229 this.Controls.Add(this.DeleteLabel); 241 this.Controls.Add(this.DeleteLabel);
230 this.Controls.Add(this.KeepLogDaysInput); 242 this.Controls.Add(this.KeepLogDaysInput);
231 this.Controls.Add(this.CancelSettingsButton); 243 this.Controls.Add(this.CancelSettingsButton);
232 this.Controls.Add(this.OkButton); 244 this.Controls.Add(this.OkButton);
264 private System.Windows.Forms.Button OkButton; 276 private System.Windows.Forms.Button OkButton;
265 private System.Windows.Forms.Button CancelSettingsButton; 277 private System.Windows.Forms.Button CancelSettingsButton;
266 private System.Windows.Forms.NumericUpDown KeepLogDaysInput; 278 private System.Windows.Forms.NumericUpDown KeepLogDaysInput;
267 private System.Windows.Forms.Label DeleteLabel; 279 private System.Windows.Forms.Label DeleteLabel;
268 private System.Windows.Forms.Label DaysLabel; 280 private System.Windows.Forms.Label DaysLabel;
281 private System.Windows.Forms.CheckBox AutorunCheckBox;
269 } 282 }
270 } 283 }