Mercurial > servermonitor
comparison ServerMonitor/Forms/SettingsForm.Designer.cs @ 29:f6235dc0a8ec
Add ability to play a sound on check failure.
author | Brad Greco <brad@bgreco.net> |
---|---|
date | Fri, 14 Jun 2019 21:01:55 -0400 |
parents | 75ca86e0862c |
children |
comparison
equal
deleted
inserted
replaced
28:437442cd8090 | 29:f6235dc0a8ec |
---|---|
27 /// the contents of this method with the code editor. | 27 /// the contents of this method with the code editor. |
28 /// </summary> | 28 /// </summary> |
29 private void InitializeComponent() | 29 private void InitializeComponent() |
30 { | 30 { |
31 this.SeverityOptionsGroupBox = new System.Windows.Forms.GroupBox(); | 31 this.SeverityOptionsGroupBox = new System.Windows.Forms.GroupBox(); |
32 this.InformationSoundComboBox = new System.Windows.Forms.ComboBox(); | |
33 this.WarningSoundComboBox = new System.Windows.Forms.ComboBox(); | |
34 this.InformationSoundLabel = new System.Windows.Forms.Label(); | |
35 this.WarningSoundLabel = new System.Windows.Forms.Label(); | |
36 this.ErrorSoundLabel = new System.Windows.Forms.Label(); | |
37 this.ErrorSoundComboBox = new System.Windows.Forms.ComboBox(); | |
32 this.ErrorComboBox = new System.Windows.Forms.ComboBox(); | 38 this.ErrorComboBox = new System.Windows.Forms.ComboBox(); |
33 this.WarningComboBox = new System.Windows.Forms.ComboBox(); | 39 this.WarningComboBox = new System.Windows.Forms.ComboBox(); |
34 this.InformationComboBox = new System.Windows.Forms.ComboBox(); | 40 this.InformationComboBox = new System.Windows.Forms.ComboBox(); |
35 this.InformationLabel = new System.Windows.Forms.Label(); | 41 this.InformationLabel = new System.Windows.Forms.Label(); |
36 this.InformationIcon = new System.Windows.Forms.PictureBox(); | 42 this.InformationIcon = new System.Windows.Forms.PictureBox(); |
37 this.WarningLabel = new System.Windows.Forms.Label(); | 43 this.WarningLabel = new System.Windows.Forms.Label(); |
38 this.WarningIcon = new System.Windows.Forms.PictureBox(); | 44 this.WarningIcon = new System.Windows.Forms.PictureBox(); |
39 this.ErrorLabel = new System.Windows.Forms.Label(); | 45 this.ErrorLabel = new System.Windows.Forms.Label(); |
40 this.ErrorIcon = new System.Windows.Forms.PictureBox(); | 46 this.ErrorIcon = new System.Windows.Forms.PictureBox(); |
41 this.label1 = new System.Windows.Forms.Label(); | 47 this.OptionsLabel = new System.Windows.Forms.Label(); |
42 this.OkButton = new System.Windows.Forms.Button(); | 48 this.OkButton = new System.Windows.Forms.Button(); |
43 this.CancelSettingsButton = new System.Windows.Forms.Button(); | 49 this.CancelSettingsButton = new System.Windows.Forms.Button(); |
44 this.KeepLogDaysInput = new System.Windows.Forms.NumericUpDown(); | 50 this.KeepLogDaysInput = new System.Windows.Forms.NumericUpDown(); |
45 this.DeleteLabel = new System.Windows.Forms.Label(); | 51 this.DeleteLabel = new System.Windows.Forms.Label(); |
46 this.DaysLabel = new System.Windows.Forms.Label(); | 52 this.DaysLabel = new System.Windows.Forms.Label(); |
55 // | 61 // |
56 // SeverityOptionsGroupBox | 62 // SeverityOptionsGroupBox |
57 // | 63 // |
58 this.SeverityOptionsGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | 64 this.SeverityOptionsGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) |
59 | System.Windows.Forms.AnchorStyles.Right))); | 65 | System.Windows.Forms.AnchorStyles.Right))); |
66 this.SeverityOptionsGroupBox.Controls.Add(this.InformationSoundComboBox); | |
67 this.SeverityOptionsGroupBox.Controls.Add(this.WarningSoundComboBox); | |
68 this.SeverityOptionsGroupBox.Controls.Add(this.InformationSoundLabel); | |
69 this.SeverityOptionsGroupBox.Controls.Add(this.WarningSoundLabel); | |
70 this.SeverityOptionsGroupBox.Controls.Add(this.ErrorSoundLabel); | |
71 this.SeverityOptionsGroupBox.Controls.Add(this.ErrorSoundComboBox); | |
60 this.SeverityOptionsGroupBox.Controls.Add(this.ErrorComboBox); | 72 this.SeverityOptionsGroupBox.Controls.Add(this.ErrorComboBox); |
61 this.SeverityOptionsGroupBox.Controls.Add(this.WarningComboBox); | 73 this.SeverityOptionsGroupBox.Controls.Add(this.WarningComboBox); |
62 this.SeverityOptionsGroupBox.Controls.Add(this.InformationComboBox); | 74 this.SeverityOptionsGroupBox.Controls.Add(this.InformationComboBox); |
63 this.SeverityOptionsGroupBox.Controls.Add(this.InformationLabel); | 75 this.SeverityOptionsGroupBox.Controls.Add(this.InformationLabel); |
64 this.SeverityOptionsGroupBox.Controls.Add(this.InformationIcon); | 76 this.SeverityOptionsGroupBox.Controls.Add(this.InformationIcon); |
66 this.SeverityOptionsGroupBox.Controls.Add(this.WarningIcon); | 78 this.SeverityOptionsGroupBox.Controls.Add(this.WarningIcon); |
67 this.SeverityOptionsGroupBox.Controls.Add(this.ErrorLabel); | 79 this.SeverityOptionsGroupBox.Controls.Add(this.ErrorLabel); |
68 this.SeverityOptionsGroupBox.Controls.Add(this.ErrorIcon); | 80 this.SeverityOptionsGroupBox.Controls.Add(this.ErrorIcon); |
69 this.SeverityOptionsGroupBox.Location = new System.Drawing.Point(12, 109); | 81 this.SeverityOptionsGroupBox.Location = new System.Drawing.Point(12, 109); |
70 this.SeverityOptionsGroupBox.Name = "SeverityOptionsGroupBox"; | 82 this.SeverityOptionsGroupBox.Name = "SeverityOptionsGroupBox"; |
71 this.SeverityOptionsGroupBox.Size = new System.Drawing.Size(337, 104); | 83 this.SeverityOptionsGroupBox.Size = new System.Drawing.Size(435, 104); |
72 this.SeverityOptionsGroupBox.TabIndex = 8; | 84 this.SeverityOptionsGroupBox.TabIndex = 8; |
73 this.SeverityOptionsGroupBox.TabStop = false; | 85 this.SeverityOptionsGroupBox.TabStop = false; |
74 this.SeverityOptionsGroupBox.Text = "Severity settings"; | 86 this.SeverityOptionsGroupBox.Text = "Severity settings"; |
87 // | |
88 // InformationSoundComboBox | |
89 // | |
90 this.InformationSoundComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; | |
91 this.InformationSoundComboBox.FormattingEnabled = true; | |
92 this.InformationSoundComboBox.Location = new System.Drawing.Point(299, 71); | |
93 this.InformationSoundComboBox.Name = "InformationSoundComboBox"; | |
94 this.InformationSoundComboBox.Size = new System.Drawing.Size(130, 21); | |
95 this.InformationSoundComboBox.TabIndex = 58; | |
96 this.InformationSoundComboBox.SelectedIndexChanged += new System.EventHandler(this.SoundComboBox_SelectedIndexChanged); | |
97 this.InformationSoundComboBox.Format += new System.Windows.Forms.ListControlConvertEventHandler(this.SoundComboBox_Format); | |
98 // | |
99 // WarningSoundComboBox | |
100 // | |
101 this.WarningSoundComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; | |
102 this.WarningSoundComboBox.FormattingEnabled = true; | |
103 this.WarningSoundComboBox.Location = new System.Drawing.Point(299, 44); | |
104 this.WarningSoundComboBox.Name = "WarningSoundComboBox"; | |
105 this.WarningSoundComboBox.Size = new System.Drawing.Size(130, 21); | |
106 this.WarningSoundComboBox.TabIndex = 57; | |
107 this.WarningSoundComboBox.SelectedIndexChanged += new System.EventHandler(this.SoundComboBox_SelectedIndexChanged); | |
108 this.WarningSoundComboBox.Format += new System.Windows.Forms.ListControlConvertEventHandler(this.SoundComboBox_Format); | |
109 // | |
110 // InformationSoundLabel | |
111 // | |
112 this.InformationSoundLabel.AutoSize = true; | |
113 this.InformationSoundLabel.Location = new System.Drawing.Point(252, 74); | |
114 this.InformationSoundLabel.Name = "InformationSoundLabel"; | |
115 this.InformationSoundLabel.Size = new System.Drawing.Size(41, 13); | |
116 this.InformationSoundLabel.TabIndex = 56; | |
117 this.InformationSoundLabel.Text = "Sound:"; | |
118 // | |
119 // WarningSoundLabel | |
120 // | |
121 this.WarningSoundLabel.AutoSize = true; | |
122 this.WarningSoundLabel.Location = new System.Drawing.Point(252, 47); | |
123 this.WarningSoundLabel.Name = "WarningSoundLabel"; | |
124 this.WarningSoundLabel.Size = new System.Drawing.Size(41, 13); | |
125 this.WarningSoundLabel.TabIndex = 55; | |
126 this.WarningSoundLabel.Text = "Sound:"; | |
127 // | |
128 // ErrorSoundLabel | |
129 // | |
130 this.ErrorSoundLabel.AutoSize = true; | |
131 this.ErrorSoundLabel.Location = new System.Drawing.Point(252, 20); | |
132 this.ErrorSoundLabel.Name = "ErrorSoundLabel"; | |
133 this.ErrorSoundLabel.Size = new System.Drawing.Size(41, 13); | |
134 this.ErrorSoundLabel.TabIndex = 54; | |
135 this.ErrorSoundLabel.Text = "Sound:"; | |
136 // | |
137 // ErrorSoundComboBox | |
138 // | |
139 this.ErrorSoundComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; | |
140 this.ErrorSoundComboBox.FormattingEnabled = true; | |
141 this.ErrorSoundComboBox.Location = new System.Drawing.Point(299, 17); | |
142 this.ErrorSoundComboBox.Name = "ErrorSoundComboBox"; | |
143 this.ErrorSoundComboBox.Size = new System.Drawing.Size(130, 21); | |
144 this.ErrorSoundComboBox.TabIndex = 53; | |
145 this.ErrorSoundComboBox.SelectedIndexChanged += new System.EventHandler(this.SoundComboBox_SelectedIndexChanged); | |
146 this.ErrorSoundComboBox.Format += new System.Windows.Forms.ListControlConvertEventHandler(this.SoundComboBox_Format); | |
75 // | 147 // |
76 // ErrorComboBox | 148 // ErrorComboBox |
77 // | 149 // |
78 this.ErrorComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; | 150 this.ErrorComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; |
79 this.ErrorComboBox.FormattingEnabled = true; | 151 this.ErrorComboBox.FormattingEnabled = true; |
155 this.ErrorIcon.Size = new System.Drawing.Size(16, 16); | 227 this.ErrorIcon.Size = new System.Drawing.Size(16, 16); |
156 this.ErrorIcon.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; | 228 this.ErrorIcon.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; |
157 this.ErrorIcon.TabIndex = 0; | 229 this.ErrorIcon.TabIndex = 0; |
158 this.ErrorIcon.TabStop = false; | 230 this.ErrorIcon.TabStop = false; |
159 // | 231 // |
160 // label1 | 232 // OptionsLabel |
161 // | 233 // |
162 this.label1.AutoSize = true; | 234 this.OptionsLabel.AutoSize = true; |
163 this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | 235 this.OptionsLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
164 this.label1.Location = new System.Drawing.Point(9, 9); | 236 this.OptionsLabel.Location = new System.Drawing.Point(9, 9); |
165 this.label1.Name = "label1"; | 237 this.OptionsLabel.Name = "OptionsLabel"; |
166 this.label1.Size = new System.Drawing.Size(50, 13); | 238 this.OptionsLabel.Size = new System.Drawing.Size(50, 13); |
167 this.label1.TabIndex = 1; | 239 this.OptionsLabel.TabIndex = 1; |
168 this.label1.Text = "Options"; | 240 this.OptionsLabel.Text = "Options"; |
169 // | 241 // |
170 // OkButton | 242 // OkButton |
171 // | 243 // |
172 this.OkButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); | 244 this.OkButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); |
173 this.OkButton.Location = new System.Drawing.Point(193, 224); | 245 this.OkButton.Location = new System.Drawing.Point(291, 224); |
174 this.OkButton.Name = "OkButton"; | 246 this.OkButton.Name = "OkButton"; |
175 this.OkButton.Size = new System.Drawing.Size(75, 23); | 247 this.OkButton.Size = new System.Drawing.Size(75, 23); |
176 this.OkButton.TabIndex = 50; | 248 this.OkButton.TabIndex = 50; |
177 this.OkButton.Text = "&OK"; | 249 this.OkButton.Text = "&OK"; |
178 this.OkButton.UseVisualStyleBackColor = true; | 250 this.OkButton.UseVisualStyleBackColor = true; |
180 // | 252 // |
181 // CancelSettingsButton | 253 // CancelSettingsButton |
182 // | 254 // |
183 this.CancelSettingsButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); | 255 this.CancelSettingsButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); |
184 this.CancelSettingsButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; | 256 this.CancelSettingsButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; |
185 this.CancelSettingsButton.Location = new System.Drawing.Point(274, 224); | 257 this.CancelSettingsButton.Location = new System.Drawing.Point(372, 224); |
186 this.CancelSettingsButton.Name = "CancelSettingsButton"; | 258 this.CancelSettingsButton.Name = "CancelSettingsButton"; |
187 this.CancelSettingsButton.Size = new System.Drawing.Size(75, 23); | 259 this.CancelSettingsButton.Size = new System.Drawing.Size(75, 23); |
188 this.CancelSettingsButton.TabIndex = 51; | 260 this.CancelSettingsButton.TabIndex = 51; |
189 this.CancelSettingsButton.Text = "&Cancel"; | 261 this.CancelSettingsButton.Text = "&Cancel"; |
190 this.CancelSettingsButton.UseVisualStyleBackColor = true; | 262 this.CancelSettingsButton.UseVisualStyleBackColor = true; |
244 // | 316 // |
245 this.AcceptButton = this.OkButton; | 317 this.AcceptButton = this.OkButton; |
246 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); | 318 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); |
247 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; | 319 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
248 this.CancelButton = this.CancelSettingsButton; | 320 this.CancelButton = this.CancelSettingsButton; |
249 this.ClientSize = new System.Drawing.Size(361, 259); | 321 this.ClientSize = new System.Drawing.Size(459, 259); |
250 this.Controls.Add(this.KeepRunningCheckBox); | 322 this.Controls.Add(this.KeepRunningCheckBox); |
251 this.Controls.Add(this.AutorunCheckBox); | 323 this.Controls.Add(this.AutorunCheckBox); |
252 this.Controls.Add(this.DaysLabel); | 324 this.Controls.Add(this.DaysLabel); |
253 this.Controls.Add(this.DeleteLabel); | 325 this.Controls.Add(this.DeleteLabel); |
254 this.Controls.Add(this.KeepLogDaysInput); | 326 this.Controls.Add(this.KeepLogDaysInput); |
255 this.Controls.Add(this.CancelSettingsButton); | 327 this.Controls.Add(this.CancelSettingsButton); |
256 this.Controls.Add(this.OkButton); | 328 this.Controls.Add(this.OkButton); |
257 this.Controls.Add(this.label1); | 329 this.Controls.Add(this.OptionsLabel); |
258 this.Controls.Add(this.SeverityOptionsGroupBox); | 330 this.Controls.Add(this.SeverityOptionsGroupBox); |
259 this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; | 331 this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; |
260 this.MaximizeBox = false; | 332 this.MaximizeBox = false; |
261 this.Name = "SettingsForm"; | 333 this.Name = "SettingsForm"; |
262 this.Text = "Options"; | 334 this.Text = "Options"; |
274 | 346 |
275 #endregion | 347 #endregion |
276 | 348 |
277 private System.Windows.Forms.GroupBox SeverityOptionsGroupBox; | 349 private System.Windows.Forms.GroupBox SeverityOptionsGroupBox; |
278 private System.Windows.Forms.PictureBox ErrorIcon; | 350 private System.Windows.Forms.PictureBox ErrorIcon; |
279 private System.Windows.Forms.Label label1; | 351 private System.Windows.Forms.Label OptionsLabel; |
280 private System.Windows.Forms.Label InformationLabel; | 352 private System.Windows.Forms.Label InformationLabel; |
281 private System.Windows.Forms.PictureBox InformationIcon; | 353 private System.Windows.Forms.PictureBox InformationIcon; |
282 private System.Windows.Forms.Label WarningLabel; | 354 private System.Windows.Forms.Label WarningLabel; |
283 private System.Windows.Forms.PictureBox WarningIcon; | 355 private System.Windows.Forms.PictureBox WarningIcon; |
284 private System.Windows.Forms.Label ErrorLabel; | 356 private System.Windows.Forms.Label ErrorLabel; |
290 private System.Windows.Forms.NumericUpDown KeepLogDaysInput; | 362 private System.Windows.Forms.NumericUpDown KeepLogDaysInput; |
291 private System.Windows.Forms.Label DeleteLabel; | 363 private System.Windows.Forms.Label DeleteLabel; |
292 private System.Windows.Forms.Label DaysLabel; | 364 private System.Windows.Forms.Label DaysLabel; |
293 private System.Windows.Forms.CheckBox AutorunCheckBox; | 365 private System.Windows.Forms.CheckBox AutorunCheckBox; |
294 private System.Windows.Forms.CheckBox KeepRunningCheckBox; | 366 private System.Windows.Forms.CheckBox KeepRunningCheckBox; |
367 private System.Windows.Forms.Label ErrorSoundLabel; | |
368 private System.Windows.Forms.ComboBox ErrorSoundComboBox; | |
369 private System.Windows.Forms.Label WarningSoundLabel; | |
370 private System.Windows.Forms.Label InformationSoundLabel; | |
371 private System.Windows.Forms.ComboBox InformationSoundComboBox; | |
372 private System.Windows.Forms.ComboBox WarningSoundComboBox; | |
295 } | 373 } |
296 } | 374 } |