comparison ServerMonitor/Forms/SettingsForm.Designer.cs @ 6:c1dffaac66fa

- Don't show multiple password dialogs for the same key if the first one was cancelled. - Add option to trim log files.
author Brad Greco <brad@bgreco.net>
date Fri, 01 Mar 2019 21:38:22 -0500
parents 3142e52cbe69
children 052aa62cb42a
comparison
equal deleted inserted replaced
5:b6fe203af9d5 6:c1dffaac66fa
39 this.ErrorLabel = new System.Windows.Forms.Label(); 39 this.ErrorLabel = new System.Windows.Forms.Label();
40 this.ErrorIcon = new System.Windows.Forms.PictureBox(); 40 this.ErrorIcon = new System.Windows.Forms.PictureBox();
41 this.label1 = new System.Windows.Forms.Label(); 41 this.label1 = new System.Windows.Forms.Label();
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();
45 this.DeleteLabel = new System.Windows.Forms.Label();
46 this.DaysLabel = new System.Windows.Forms.Label();
44 this.SeverityOptionsGroupBox.SuspendLayout(); 47 this.SeverityOptionsGroupBox.SuspendLayout();
45 ((System.ComponentModel.ISupportInitialize)(this.InformationIcon)).BeginInit(); 48 ((System.ComponentModel.ISupportInitialize)(this.InformationIcon)).BeginInit();
46 ((System.ComponentModel.ISupportInitialize)(this.WarningIcon)).BeginInit(); 49 ((System.ComponentModel.ISupportInitialize)(this.WarningIcon)).BeginInit();
47 ((System.ComponentModel.ISupportInitialize)(this.ErrorIcon)).BeginInit(); 50 ((System.ComponentModel.ISupportInitialize)(this.ErrorIcon)).BeginInit();
51 ((System.ComponentModel.ISupportInitialize)(this.KeepLogDaysInput)).BeginInit();
48 this.SuspendLayout(); 52 this.SuspendLayout();
49 // 53 //
50 // SeverityOptionsGroupBox 54 // SeverityOptionsGroupBox
51 // 55 //
52 this.SeverityOptionsGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 56 this.SeverityOptionsGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
58 this.SeverityOptionsGroupBox.Controls.Add(this.InformationIcon); 62 this.SeverityOptionsGroupBox.Controls.Add(this.InformationIcon);
59 this.SeverityOptionsGroupBox.Controls.Add(this.WarningLabel); 63 this.SeverityOptionsGroupBox.Controls.Add(this.WarningLabel);
60 this.SeverityOptionsGroupBox.Controls.Add(this.WarningIcon); 64 this.SeverityOptionsGroupBox.Controls.Add(this.WarningIcon);
61 this.SeverityOptionsGroupBox.Controls.Add(this.ErrorLabel); 65 this.SeverityOptionsGroupBox.Controls.Add(this.ErrorLabel);
62 this.SeverityOptionsGroupBox.Controls.Add(this.ErrorIcon); 66 this.SeverityOptionsGroupBox.Controls.Add(this.ErrorIcon);
63 this.SeverityOptionsGroupBox.Location = new System.Drawing.Point(12, 57); 67 this.SeverityOptionsGroupBox.Location = new System.Drawing.Point(12, 61);
64 this.SeverityOptionsGroupBox.Name = "SeverityOptionsGroupBox"; 68 this.SeverityOptionsGroupBox.Name = "SeverityOptionsGroupBox";
65 this.SeverityOptionsGroupBox.Size = new System.Drawing.Size(337, 104); 69 this.SeverityOptionsGroupBox.Size = new System.Drawing.Size(337, 104);
66 this.SeverityOptionsGroupBox.TabIndex = 0; 70 this.SeverityOptionsGroupBox.TabIndex = 0;
67 this.SeverityOptionsGroupBox.TabStop = false; 71 this.SeverityOptionsGroupBox.TabStop = false;
68 this.SeverityOptionsGroupBox.Text = "Severity settings"; 72 this.SeverityOptionsGroupBox.Text = "Severity settings";
162 this.label1.Text = "Options"; 166 this.label1.Text = "Options";
163 // 167 //
164 // OkButton 168 // OkButton
165 // 169 //
166 this.OkButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); 170 this.OkButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
167 this.OkButton.Location = new System.Drawing.Point(193, 170); 171 this.OkButton.Location = new System.Drawing.Point(193, 176);
168 this.OkButton.Name = "OkButton"; 172 this.OkButton.Name = "OkButton";
169 this.OkButton.Size = new System.Drawing.Size(75, 23); 173 this.OkButton.Size = new System.Drawing.Size(75, 23);
170 this.OkButton.TabIndex = 2; 174 this.OkButton.TabIndex = 2;
171 this.OkButton.Text = "OK"; 175 this.OkButton.Text = "OK";
172 this.OkButton.UseVisualStyleBackColor = true; 176 this.OkButton.UseVisualStyleBackColor = true;
173 this.OkButton.Click += new System.EventHandler(this.OkButton_Click); 177 this.OkButton.Click += new System.EventHandler(this.OkButton_Click);
174 // 178 //
175 // CancelSettingsButton 179 // CancelSettingsButton
176 // 180 //
177 this.CancelSettingsButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); 181 this.CancelSettingsButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
178 this.CancelSettingsButton.Location = new System.Drawing.Point(274, 170); 182 this.CancelSettingsButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
183 this.CancelSettingsButton.Location = new System.Drawing.Point(274, 176);
179 this.CancelSettingsButton.Name = "CancelSettingsButton"; 184 this.CancelSettingsButton.Name = "CancelSettingsButton";
180 this.CancelSettingsButton.Size = new System.Drawing.Size(75, 23); 185 this.CancelSettingsButton.Size = new System.Drawing.Size(75, 23);
181 this.CancelSettingsButton.TabIndex = 3; 186 this.CancelSettingsButton.TabIndex = 3;
182 this.CancelSettingsButton.Text = "Cancel"; 187 this.CancelSettingsButton.Text = "Cancel";
183 this.CancelSettingsButton.UseVisualStyleBackColor = true; 188 this.CancelSettingsButton.UseVisualStyleBackColor = true;
184 this.CancelSettingsButton.Click += new System.EventHandler(this.CancelSettingsButton_Click); 189 this.CancelSettingsButton.Click += new System.EventHandler(this.CancelSettingsButton_Click);
185 // 190 //
191 // KeepLogDaysInput
192 //
193 this.KeepLogDaysInput.Location = new System.Drawing.Point(130, 31);
194 this.KeepLogDaysInput.Maximum = new decimal(new int[] {
195 9999,
196 0,
197 0,
198 0});
199 this.KeepLogDaysInput.Name = "KeepLogDaysInput";
200 this.KeepLogDaysInput.Size = new System.Drawing.Size(50, 20);
201 this.KeepLogDaysInput.TabIndex = 4;
202 //
203 // DeleteLabel
204 //
205 this.DeleteLabel.AutoSize = true;
206 this.DeleteLabel.Location = new System.Drawing.Point(15, 33);
207 this.DeleteLabel.Name = "DeleteLabel";
208 this.DeleteLabel.Size = new System.Drawing.Size(113, 13);
209 this.DeleteLabel.TabIndex = 5;
210 this.DeleteLabel.Text = "Delete log entries after";
211 //
212 // DaysLabel
213 //
214 this.DaysLabel.AutoSize = true;
215 this.DaysLabel.Location = new System.Drawing.Point(182, 33);
216 this.DaysLabel.Name = "DaysLabel";
217 this.DaysLabel.Size = new System.Drawing.Size(29, 13);
218 this.DaysLabel.TabIndex = 6;
219 this.DaysLabel.Text = "days";
220 //
186 // SettingsForm 221 // SettingsForm
187 // 222 //
188 this.AcceptButton = this.OkButton; 223 this.AcceptButton = this.OkButton;
189 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 224 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
190 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 225 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
191 this.ClientSize = new System.Drawing.Size(361, 205); 226 this.CancelButton = this.CancelSettingsButton;
227 this.ClientSize = new System.Drawing.Size(361, 211);
228 this.Controls.Add(this.DaysLabel);
229 this.Controls.Add(this.DeleteLabel);
230 this.Controls.Add(this.KeepLogDaysInput);
192 this.Controls.Add(this.CancelSettingsButton); 231 this.Controls.Add(this.CancelSettingsButton);
193 this.Controls.Add(this.OkButton); 232 this.Controls.Add(this.OkButton);
194 this.Controls.Add(this.label1); 233 this.Controls.Add(this.label1);
195 this.Controls.Add(this.SeverityOptionsGroupBox); 234 this.Controls.Add(this.SeverityOptionsGroupBox);
235 this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
236 this.MaximizeBox = false;
196 this.Name = "SettingsForm"; 237 this.Name = "SettingsForm";
197 this.Text = "Options"; 238 this.Text = "Options";
198 this.Load += new System.EventHandler(this.SettingsForm_Load); 239 this.Load += new System.EventHandler(this.SettingsForm_Load);
199 this.SeverityOptionsGroupBox.ResumeLayout(false); 240 this.SeverityOptionsGroupBox.ResumeLayout(false);
200 this.SeverityOptionsGroupBox.PerformLayout(); 241 this.SeverityOptionsGroupBox.PerformLayout();
201 ((System.ComponentModel.ISupportInitialize)(this.InformationIcon)).EndInit(); 242 ((System.ComponentModel.ISupportInitialize)(this.InformationIcon)).EndInit();
202 ((System.ComponentModel.ISupportInitialize)(this.WarningIcon)).EndInit(); 243 ((System.ComponentModel.ISupportInitialize)(this.WarningIcon)).EndInit();
203 ((System.ComponentModel.ISupportInitialize)(this.ErrorIcon)).EndInit(); 244 ((System.ComponentModel.ISupportInitialize)(this.ErrorIcon)).EndInit();
245 ((System.ComponentModel.ISupportInitialize)(this.KeepLogDaysInput)).EndInit();
204 this.ResumeLayout(false); 246 this.ResumeLayout(false);
205 this.PerformLayout(); 247 this.PerformLayout();
206 248
207 } 249 }
208 250
219 private System.Windows.Forms.ComboBox ErrorComboBox; 261 private System.Windows.Forms.ComboBox ErrorComboBox;
220 private System.Windows.Forms.ComboBox WarningComboBox; 262 private System.Windows.Forms.ComboBox WarningComboBox;
221 private System.Windows.Forms.ComboBox InformationComboBox; 263 private System.Windows.Forms.ComboBox InformationComboBox;
222 private System.Windows.Forms.Button OkButton; 264 private System.Windows.Forms.Button OkButton;
223 private System.Windows.Forms.Button CancelSettingsButton; 265 private System.Windows.Forms.Button CancelSettingsButton;
266 private System.Windows.Forms.NumericUpDown KeepLogDaysInput;
267 private System.Windows.Forms.Label DeleteLabel;
268 private System.Windows.Forms.Label DaysLabel;
224 } 269 }
225 } 270 }