Mercurial > servermonitor
annotate 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 |
rev | line source |
---|---|
4 | 1 namespace ServerMonitorApp |
2 { | |
3 partial class SettingsForm | |
4 { | |
5 /// <summary> | |
6 /// Required designer variable. | |
7 /// </summary> | |
8 private System.ComponentModel.IContainer components = null; | |
9 | |
10 /// <summary> | |
11 /// Clean up any resources being used. | |
12 /// </summary> | |
13 /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> | |
14 protected override void Dispose(bool disposing) | |
15 { | |
16 if (disposing && (components != null)) | |
17 { | |
18 components.Dispose(); | |
19 } | |
20 base.Dispose(disposing); | |
21 } | |
22 | |
23 #region Windows Form Designer generated code | |
24 | |
25 /// <summary> | |
26 /// Required method for Designer support - do not modify | |
27 /// the contents of this method with the code editor. | |
28 /// </summary> | |
29 private void InitializeComponent() | |
30 { | |
31 this.SeverityOptionsGroupBox = new System.Windows.Forms.GroupBox(); | |
32 this.ErrorComboBox = new System.Windows.Forms.ComboBox(); | |
33 this.WarningComboBox = new System.Windows.Forms.ComboBox(); | |
34 this.InformationComboBox = new System.Windows.Forms.ComboBox(); | |
35 this.InformationLabel = new System.Windows.Forms.Label(); | |
36 this.InformationIcon = new System.Windows.Forms.PictureBox(); | |
37 this.WarningLabel = new System.Windows.Forms.Label(); | |
38 this.WarningIcon = new System.Windows.Forms.PictureBox(); | |
39 this.ErrorLabel = new System.Windows.Forms.Label(); | |
40 this.ErrorIcon = new System.Windows.Forms.PictureBox(); | |
41 this.label1 = new System.Windows.Forms.Label(); | |
42 this.OkButton = new System.Windows.Forms.Button(); | |
43 this.CancelSettingsButton = new System.Windows.Forms.Button(); | |
6
c1dffaac66fa
- Don't show multiple password dialogs for the same key if the first one was cancelled.
Brad Greco <brad@bgreco.net>
parents:
4
diff
changeset
|
44 this.KeepLogDaysInput = new System.Windows.Forms.NumericUpDown(); |
c1dffaac66fa
- Don't show multiple password dialogs for the same key if the first one was cancelled.
Brad Greco <brad@bgreco.net>
parents:
4
diff
changeset
|
45 this.DeleteLabel = new System.Windows.Forms.Label(); |
c1dffaac66fa
- Don't show multiple password dialogs for the same key if the first one was cancelled.
Brad Greco <brad@bgreco.net>
parents:
4
diff
changeset
|
46 this.DaysLabel = new System.Windows.Forms.Label(); |
4 | 47 this.SeverityOptionsGroupBox.SuspendLayout(); |
48 ((System.ComponentModel.ISupportInitialize)(this.InformationIcon)).BeginInit(); | |
49 ((System.ComponentModel.ISupportInitialize)(this.WarningIcon)).BeginInit(); | |
50 ((System.ComponentModel.ISupportInitialize)(this.ErrorIcon)).BeginInit(); | |
6
c1dffaac66fa
- Don't show multiple password dialogs for the same key if the first one was cancelled.
Brad Greco <brad@bgreco.net>
parents:
4
diff
changeset
|
51 ((System.ComponentModel.ISupportInitialize)(this.KeepLogDaysInput)).BeginInit(); |
4 | 52 this.SuspendLayout(); |
53 // | |
54 // SeverityOptionsGroupBox | |
55 // | |
56 this.SeverityOptionsGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | |
57 | System.Windows.Forms.AnchorStyles.Right))); | |
58 this.SeverityOptionsGroupBox.Controls.Add(this.ErrorComboBox); | |
59 this.SeverityOptionsGroupBox.Controls.Add(this.WarningComboBox); | |
60 this.SeverityOptionsGroupBox.Controls.Add(this.InformationComboBox); | |
61 this.SeverityOptionsGroupBox.Controls.Add(this.InformationLabel); | |
62 this.SeverityOptionsGroupBox.Controls.Add(this.InformationIcon); | |
63 this.SeverityOptionsGroupBox.Controls.Add(this.WarningLabel); | |
64 this.SeverityOptionsGroupBox.Controls.Add(this.WarningIcon); | |
65 this.SeverityOptionsGroupBox.Controls.Add(this.ErrorLabel); | |
66 this.SeverityOptionsGroupBox.Controls.Add(this.ErrorIcon); | |
6
c1dffaac66fa
- Don't show multiple password dialogs for the same key if the first one was cancelled.
Brad Greco <brad@bgreco.net>
parents:
4
diff
changeset
|
67 this.SeverityOptionsGroupBox.Location = new System.Drawing.Point(12, 61); |
4 | 68 this.SeverityOptionsGroupBox.Name = "SeverityOptionsGroupBox"; |
69 this.SeverityOptionsGroupBox.Size = new System.Drawing.Size(337, 104); | |
70 this.SeverityOptionsGroupBox.TabIndex = 0; | |
71 this.SeverityOptionsGroupBox.TabStop = false; | |
72 this.SeverityOptionsGroupBox.Text = "Severity settings"; | |
73 // | |
74 // ErrorComboBox | |
75 // | |
76 this.ErrorComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; | |
77 this.ErrorComboBox.FormattingEnabled = true; | |
78 this.ErrorComboBox.Location = new System.Drawing.Point(125, 17); | |
79 this.ErrorComboBox.Name = "ErrorComboBox"; | |
80 this.ErrorComboBox.Size = new System.Drawing.Size(121, 21); | |
81 this.ErrorComboBox.TabIndex = 8; | |
82 // | |
83 // WarningComboBox | |
84 // | |
85 this.WarningComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; | |
86 this.WarningComboBox.FormattingEnabled = true; | |
87 this.WarningComboBox.Location = new System.Drawing.Point(125, 44); | |
88 this.WarningComboBox.Name = "WarningComboBox"; | |
89 this.WarningComboBox.Size = new System.Drawing.Size(121, 21); | |
90 this.WarningComboBox.TabIndex = 7; | |
91 // | |
92 // InformationComboBox | |
93 // | |
94 this.InformationComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; | |
95 this.InformationComboBox.FormattingEnabled = true; | |
96 this.InformationComboBox.Location = new System.Drawing.Point(125, 71); | |
97 this.InformationComboBox.Name = "InformationComboBox"; | |
98 this.InformationComboBox.Size = new System.Drawing.Size(121, 21); | |
99 this.InformationComboBox.TabIndex = 6; | |
100 // | |
101 // InformationLabel | |
102 // | |
103 this.InformationLabel.AutoSize = true; | |
104 this.InformationLabel.Location = new System.Drawing.Point(25, 74); | |
105 this.InformationLabel.Name = "InformationLabel"; | |
106 this.InformationLabel.Size = new System.Drawing.Size(94, 13); | |
107 this.InformationLabel.TabIndex = 5; | |
108 this.InformationLabel.Text = "Information action:"; | |
109 // | |
110 // InformationIcon | |
111 // | |
112 this.InformationIcon.Image = global::ServerMonitorApp.Properties.Resources.info; | |
113 this.InformationIcon.Location = new System.Drawing.Point(6, 73); | |
114 this.InformationIcon.Name = "InformationIcon"; | |
115 this.InformationIcon.Size = new System.Drawing.Size(16, 16); | |
116 this.InformationIcon.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; | |
117 this.InformationIcon.TabIndex = 4; | |
118 this.InformationIcon.TabStop = false; | |
119 // | |
120 // WarningLabel | |
121 // | |
122 this.WarningLabel.AutoSize = true; | |
123 this.WarningLabel.Location = new System.Drawing.Point(25, 47); | |
124 this.WarningLabel.Name = "WarningLabel"; | |
125 this.WarningLabel.Size = new System.Drawing.Size(82, 13); | |
126 this.WarningLabel.TabIndex = 3; | |
127 this.WarningLabel.Text = "Warning action:"; | |
128 // | |
129 // WarningIcon | |
130 // | |
131 this.WarningIcon.Image = global::ServerMonitorApp.Properties.Resources.warning; | |
132 this.WarningIcon.Location = new System.Drawing.Point(6, 46); | |
133 this.WarningIcon.Name = "WarningIcon"; | |
134 this.WarningIcon.Size = new System.Drawing.Size(16, 16); | |
135 this.WarningIcon.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; | |
136 this.WarningIcon.TabIndex = 2; | |
137 this.WarningIcon.TabStop = false; | |
138 // | |
139 // ErrorLabel | |
140 // | |
141 this.ErrorLabel.AutoSize = true; | |
142 this.ErrorLabel.Location = new System.Drawing.Point(25, 20); | |
143 this.ErrorLabel.Name = "ErrorLabel"; | |
144 this.ErrorLabel.Size = new System.Drawing.Size(64, 13); | |
145 this.ErrorLabel.TabIndex = 1; | |
146 this.ErrorLabel.Text = "Error action:"; | |
147 // | |
148 // ErrorIcon | |
149 // | |
150 this.ErrorIcon.Image = global::ServerMonitorApp.Properties.Resources.error; | |
151 this.ErrorIcon.Location = new System.Drawing.Point(6, 19); | |
152 this.ErrorIcon.Name = "ErrorIcon"; | |
153 this.ErrorIcon.Size = new System.Drawing.Size(16, 16); | |
154 this.ErrorIcon.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; | |
155 this.ErrorIcon.TabIndex = 0; | |
156 this.ErrorIcon.TabStop = false; | |
157 // | |
158 // label1 | |
159 // | |
160 this.label1.AutoSize = true; | |
161 this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
162 this.label1.Location = new System.Drawing.Point(9, 9); | |
163 this.label1.Name = "label1"; | |
164 this.label1.Size = new System.Drawing.Size(50, 13); | |
165 this.label1.TabIndex = 1; | |
166 this.label1.Text = "Options"; | |
167 // | |
168 // OkButton | |
169 // | |
170 this.OkButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); | |
6
c1dffaac66fa
- Don't show multiple password dialogs for the same key if the first one was cancelled.
Brad Greco <brad@bgreco.net>
parents:
4
diff
changeset
|
171 this.OkButton.Location = new System.Drawing.Point(193, 176); |
4 | 172 this.OkButton.Name = "OkButton"; |
173 this.OkButton.Size = new System.Drawing.Size(75, 23); | |
174 this.OkButton.TabIndex = 2; | |
175 this.OkButton.Text = "OK"; | |
176 this.OkButton.UseVisualStyleBackColor = true; | |
177 this.OkButton.Click += new System.EventHandler(this.OkButton_Click); | |
178 // | |
179 // CancelSettingsButton | |
180 // | |
181 this.CancelSettingsButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); | |
6
c1dffaac66fa
- Don't show multiple password dialogs for the same key if the first one was cancelled.
Brad Greco <brad@bgreco.net>
parents:
4
diff
changeset
|
182 this.CancelSettingsButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; |
c1dffaac66fa
- Don't show multiple password dialogs for the same key if the first one was cancelled.
Brad Greco <brad@bgreco.net>
parents:
4
diff
changeset
|
183 this.CancelSettingsButton.Location = new System.Drawing.Point(274, 176); |
4 | 184 this.CancelSettingsButton.Name = "CancelSettingsButton"; |
185 this.CancelSettingsButton.Size = new System.Drawing.Size(75, 23); | |
186 this.CancelSettingsButton.TabIndex = 3; | |
187 this.CancelSettingsButton.Text = "Cancel"; | |
188 this.CancelSettingsButton.UseVisualStyleBackColor = true; | |
189 this.CancelSettingsButton.Click += new System.EventHandler(this.CancelSettingsButton_Click); | |
190 // | |
6
c1dffaac66fa
- Don't show multiple password dialogs for the same key if the first one was cancelled.
Brad Greco <brad@bgreco.net>
parents:
4
diff
changeset
|
191 // KeepLogDaysInput |
c1dffaac66fa
- Don't show multiple password dialogs for the same key if the first one was cancelled.
Brad Greco <brad@bgreco.net>
parents:
4
diff
changeset
|
192 // |
c1dffaac66fa
- Don't show multiple password dialogs for the same key if the first one was cancelled.
Brad Greco <brad@bgreco.net>
parents:
4
diff
changeset
|
193 this.KeepLogDaysInput.Location = new System.Drawing.Point(130, 31); |
c1dffaac66fa
- Don't show multiple password dialogs for the same key if the first one was cancelled.
Brad Greco <brad@bgreco.net>
parents:
4
diff
changeset
|
194 this.KeepLogDaysInput.Maximum = new decimal(new int[] { |
c1dffaac66fa
- Don't show multiple password dialogs for the same key if the first one was cancelled.
Brad Greco <brad@bgreco.net>
parents:
4
diff
changeset
|
195 9999, |
c1dffaac66fa
- Don't show multiple password dialogs for the same key if the first one was cancelled.
Brad Greco <brad@bgreco.net>
parents:
4
diff
changeset
|
196 0, |
c1dffaac66fa
- Don't show multiple password dialogs for the same key if the first one was cancelled.
Brad Greco <brad@bgreco.net>
parents:
4
diff
changeset
|
197 0, |
c1dffaac66fa
- Don't show multiple password dialogs for the same key if the first one was cancelled.
Brad Greco <brad@bgreco.net>
parents:
4
diff
changeset
|
198 0}); |
c1dffaac66fa
- Don't show multiple password dialogs for the same key if the first one was cancelled.
Brad Greco <brad@bgreco.net>
parents:
4
diff
changeset
|
199 this.KeepLogDaysInput.Name = "KeepLogDaysInput"; |
c1dffaac66fa
- Don't show multiple password dialogs for the same key if the first one was cancelled.
Brad Greco <brad@bgreco.net>
parents:
4
diff
changeset
|
200 this.KeepLogDaysInput.Size = new System.Drawing.Size(50, 20); |
c1dffaac66fa
- Don't show multiple password dialogs for the same key if the first one was cancelled.
Brad Greco <brad@bgreco.net>
parents:
4
diff
changeset
|
201 this.KeepLogDaysInput.TabIndex = 4; |
c1dffaac66fa
- Don't show multiple password dialogs for the same key if the first one was cancelled.
Brad Greco <brad@bgreco.net>
parents:
4
diff
changeset
|
202 // |
c1dffaac66fa
- Don't show multiple password dialogs for the same key if the first one was cancelled.
Brad Greco <brad@bgreco.net>
parents:
4
diff
changeset
|
203 // DeleteLabel |
c1dffaac66fa
- Don't show multiple password dialogs for the same key if the first one was cancelled.
Brad Greco <brad@bgreco.net>
parents:
4
diff
changeset
|
204 // |
c1dffaac66fa
- Don't show multiple password dialogs for the same key if the first one was cancelled.
Brad Greco <brad@bgreco.net>
parents:
4
diff
changeset
|
205 this.DeleteLabel.AutoSize = true; |
c1dffaac66fa
- Don't show multiple password dialogs for the same key if the first one was cancelled.
Brad Greco <brad@bgreco.net>
parents:
4
diff
changeset
|
206 this.DeleteLabel.Location = new System.Drawing.Point(15, 33); |
c1dffaac66fa
- Don't show multiple password dialogs for the same key if the first one was cancelled.
Brad Greco <brad@bgreco.net>
parents:
4
diff
changeset
|
207 this.DeleteLabel.Name = "DeleteLabel"; |
c1dffaac66fa
- Don't show multiple password dialogs for the same key if the first one was cancelled.
Brad Greco <brad@bgreco.net>
parents:
4
diff
changeset
|
208 this.DeleteLabel.Size = new System.Drawing.Size(113, 13); |
c1dffaac66fa
- Don't show multiple password dialogs for the same key if the first one was cancelled.
Brad Greco <brad@bgreco.net>
parents:
4
diff
changeset
|
209 this.DeleteLabel.TabIndex = 5; |
c1dffaac66fa
- Don't show multiple password dialogs for the same key if the first one was cancelled.
Brad Greco <brad@bgreco.net>
parents:
4
diff
changeset
|
210 this.DeleteLabel.Text = "Delete log entries after"; |
c1dffaac66fa
- Don't show multiple password dialogs for the same key if the first one was cancelled.
Brad Greco <brad@bgreco.net>
parents:
4
diff
changeset
|
211 // |
c1dffaac66fa
- Don't show multiple password dialogs for the same key if the first one was cancelled.
Brad Greco <brad@bgreco.net>
parents:
4
diff
changeset
|
212 // DaysLabel |
c1dffaac66fa
- Don't show multiple password dialogs for the same key if the first one was cancelled.
Brad Greco <brad@bgreco.net>
parents:
4
diff
changeset
|
213 // |
c1dffaac66fa
- Don't show multiple password dialogs for the same key if the first one was cancelled.
Brad Greco <brad@bgreco.net>
parents:
4
diff
changeset
|
214 this.DaysLabel.AutoSize = true; |
c1dffaac66fa
- Don't show multiple password dialogs for the same key if the first one was cancelled.
Brad Greco <brad@bgreco.net>
parents:
4
diff
changeset
|
215 this.DaysLabel.Location = new System.Drawing.Point(182, 33); |
c1dffaac66fa
- Don't show multiple password dialogs for the same key if the first one was cancelled.
Brad Greco <brad@bgreco.net>
parents:
4
diff
changeset
|
216 this.DaysLabel.Name = "DaysLabel"; |
c1dffaac66fa
- Don't show multiple password dialogs for the same key if the first one was cancelled.
Brad Greco <brad@bgreco.net>
parents:
4
diff
changeset
|
217 this.DaysLabel.Size = new System.Drawing.Size(29, 13); |
c1dffaac66fa
- Don't show multiple password dialogs for the same key if the first one was cancelled.
Brad Greco <brad@bgreco.net>
parents:
4
diff
changeset
|
218 this.DaysLabel.TabIndex = 6; |
c1dffaac66fa
- Don't show multiple password dialogs for the same key if the first one was cancelled.
Brad Greco <brad@bgreco.net>
parents:
4
diff
changeset
|
219 this.DaysLabel.Text = "days"; |
c1dffaac66fa
- Don't show multiple password dialogs for the same key if the first one was cancelled.
Brad Greco <brad@bgreco.net>
parents:
4
diff
changeset
|
220 // |
4 | 221 // SettingsForm |
222 // | |
223 this.AcceptButton = this.OkButton; | |
224 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); | |
225 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; | |
6
c1dffaac66fa
- Don't show multiple password dialogs for the same key if the first one was cancelled.
Brad Greco <brad@bgreco.net>
parents:
4
diff
changeset
|
226 this.CancelButton = this.CancelSettingsButton; |
c1dffaac66fa
- Don't show multiple password dialogs for the same key if the first one was cancelled.
Brad Greco <brad@bgreco.net>
parents:
4
diff
changeset
|
227 this.ClientSize = new System.Drawing.Size(361, 211); |
c1dffaac66fa
- Don't show multiple password dialogs for the same key if the first one was cancelled.
Brad Greco <brad@bgreco.net>
parents:
4
diff
changeset
|
228 this.Controls.Add(this.DaysLabel); |
c1dffaac66fa
- Don't show multiple password dialogs for the same key if the first one was cancelled.
Brad Greco <brad@bgreco.net>
parents:
4
diff
changeset
|
229 this.Controls.Add(this.DeleteLabel); |
c1dffaac66fa
- Don't show multiple password dialogs for the same key if the first one was cancelled.
Brad Greco <brad@bgreco.net>
parents:
4
diff
changeset
|
230 this.Controls.Add(this.KeepLogDaysInput); |
4 | 231 this.Controls.Add(this.CancelSettingsButton); |
232 this.Controls.Add(this.OkButton); | |
233 this.Controls.Add(this.label1); | |
234 this.Controls.Add(this.SeverityOptionsGroupBox); | |
6
c1dffaac66fa
- Don't show multiple password dialogs for the same key if the first one was cancelled.
Brad Greco <brad@bgreco.net>
parents:
4
diff
changeset
|
235 this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; |
c1dffaac66fa
- Don't show multiple password dialogs for the same key if the first one was cancelled.
Brad Greco <brad@bgreco.net>
parents:
4
diff
changeset
|
236 this.MaximizeBox = false; |
4 | 237 this.Name = "SettingsForm"; |
238 this.Text = "Options"; | |
239 this.Load += new System.EventHandler(this.SettingsForm_Load); | |
240 this.SeverityOptionsGroupBox.ResumeLayout(false); | |
241 this.SeverityOptionsGroupBox.PerformLayout(); | |
242 ((System.ComponentModel.ISupportInitialize)(this.InformationIcon)).EndInit(); | |
243 ((System.ComponentModel.ISupportInitialize)(this.WarningIcon)).EndInit(); | |
244 ((System.ComponentModel.ISupportInitialize)(this.ErrorIcon)).EndInit(); | |
6
c1dffaac66fa
- Don't show multiple password dialogs for the same key if the first one was cancelled.
Brad Greco <brad@bgreco.net>
parents:
4
diff
changeset
|
245 ((System.ComponentModel.ISupportInitialize)(this.KeepLogDaysInput)).EndInit(); |
4 | 246 this.ResumeLayout(false); |
247 this.PerformLayout(); | |
248 | |
249 } | |
250 | |
251 #endregion | |
252 | |
253 private System.Windows.Forms.GroupBox SeverityOptionsGroupBox; | |
254 private System.Windows.Forms.PictureBox ErrorIcon; | |
255 private System.Windows.Forms.Label label1; | |
256 private System.Windows.Forms.Label InformationLabel; | |
257 private System.Windows.Forms.PictureBox InformationIcon; | |
258 private System.Windows.Forms.Label WarningLabel; | |
259 private System.Windows.Forms.PictureBox WarningIcon; | |
260 private System.Windows.Forms.Label ErrorLabel; | |
261 private System.Windows.Forms.ComboBox ErrorComboBox; | |
262 private System.Windows.Forms.ComboBox WarningComboBox; | |
263 private System.Windows.Forms.ComboBox InformationComboBox; | |
264 private System.Windows.Forms.Button OkButton; | |
265 private System.Windows.Forms.Button CancelSettingsButton; | |
6
c1dffaac66fa
- Don't show multiple password dialogs for the same key if the first one was cancelled.
Brad Greco <brad@bgreco.net>
parents:
4
diff
changeset
|
266 private System.Windows.Forms.NumericUpDown KeepLogDaysInput; |
c1dffaac66fa
- Don't show multiple password dialogs for the same key if the first one was cancelled.
Brad Greco <brad@bgreco.net>
parents:
4
diff
changeset
|
267 private System.Windows.Forms.Label DeleteLabel; |
c1dffaac66fa
- Don't show multiple password dialogs for the same key if the first one was cancelled.
Brad Greco <brad@bgreco.net>
parents:
4
diff
changeset
|
268 private System.Windows.Forms.Label DaysLabel; |
4 | 269 } |
270 } |