Mercurial > servermonitor
diff ServerMonitor/Forms/CheckForm.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 | 3142e52cbe69 |
children | 75ca86e0862c |
line wrap: on
line diff
--- a/ServerMonitor/Forms/CheckForm.Designer.cs Fri Mar 01 21:39:22 2019 -0500 +++ b/ServerMonitor/Forms/CheckForm.Designer.cs Sat Mar 09 20:14:03 2019 -0500 @@ -33,6 +33,9 @@ this.CheckTypePanel = new System.Windows.Forms.Panel(); this.TypeHelpPictureBox = new System.Windows.Forms.PictureBox(); this.GeneralGroupBox = new System.Windows.Forms.GroupBox(); + this.FailuresLabel = new System.Windows.Forms.Label(); + this.FailuresInput = new System.Windows.Forms.NumericUpDown(); + this.AfterLabel = new System.Windows.Forms.Label(); this.SeverityComboBox = new System.Windows.Forms.ComboBox(); this.SeverityLabel = new System.Windows.Forms.Label(); this.ScheduleAtPanel = new System.Windows.Forms.Panel(); @@ -62,6 +65,7 @@ this.CheckTypePanel.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.TypeHelpPictureBox)).BeginInit(); this.GeneralGroupBox.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.FailuresInput)).BeginInit(); this.ScheduleAtPanel.SuspendLayout(); this.ScheduleBetweenPanel.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.FrequencyUpDown)).BeginInit(); @@ -76,7 +80,7 @@ this.CheckTypeLabel.Name = "CheckTypeLabel"; this.CheckTypeLabel.Size = new System.Drawing.Size(64, 13); this.CheckTypeLabel.TabIndex = 0; - this.CheckTypeLabel.Text = "Check type:"; + this.CheckTypeLabel.Text = "Check &type:"; // // CheckTypeComboBox // @@ -95,7 +99,7 @@ this.CheckTypePanel.Controls.Add(this.CheckTypeLabel); this.CheckTypePanel.Controls.Add(this.TypeHelpPictureBox); this.CheckTypePanel.Controls.Add(this.CheckTypeComboBox); - this.CheckTypePanel.Location = new System.Drawing.Point(167, 12); + this.CheckTypePanel.Location = new System.Drawing.Point(162, 12); this.CheckTypePanel.Name = "CheckTypePanel"; this.CheckTypePanel.Size = new System.Drawing.Size(227, 26); this.CheckTypePanel.TabIndex = 1; @@ -116,6 +120,9 @@ // this.GeneralGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); + this.GeneralGroupBox.Controls.Add(this.FailuresLabel); + this.GeneralGroupBox.Controls.Add(this.FailuresInput); + this.GeneralGroupBox.Controls.Add(this.AfterLabel); this.GeneralGroupBox.Controls.Add(this.SeverityComboBox); this.GeneralGroupBox.Controls.Add(this.SeverityLabel); this.GeneralGroupBox.Controls.Add(this.ScheduleAtPanel); @@ -131,11 +138,51 @@ this.GeneralGroupBox.Controls.Add(this.EnabledCheckBox); this.GeneralGroupBox.Location = new System.Drawing.Point(12, 39); this.GeneralGroupBox.Name = "GeneralGroupBox"; - this.GeneralGroupBox.Size = new System.Drawing.Size(537, 135); + this.GeneralGroupBox.Size = new System.Drawing.Size(526, 135); this.GeneralGroupBox.TabIndex = 2; this.GeneralGroupBox.TabStop = false; this.GeneralGroupBox.Text = "General settings"; // + // FailuresLabel + // + this.FailuresLabel.AutoSize = true; + this.FailuresLabel.Location = new System.Drawing.Point(251, 109); + this.FailuresLabel.Name = "FailuresLabel"; + this.FailuresLabel.Size = new System.Drawing.Size(101, 13); + this.FailuresLabel.TabIndex = 37; + this.FailuresLabel.Text = "consecutive failures"; + // + // FailuresInput + // + this.FailuresInput.Location = new System.Drawing.Point(211, 107); + this.FailuresInput.Maximum = new decimal(new int[] { + 99, + 0, + 0, + 0}); + this.FailuresInput.Minimum = new decimal(new int[] { + 1, + 0, + 0, + 0}); + this.FailuresInput.Name = "FailuresInput"; + this.FailuresInput.Size = new System.Drawing.Size(34, 20); + this.FailuresInput.TabIndex = 36; + this.FailuresInput.Value = new decimal(new int[] { + 1, + 0, + 0, + 0}); + // + // AfterLabel + // + this.AfterLabel.AutoSize = true; + this.AfterLabel.Location = new System.Drawing.Point(180, 109); + this.AfterLabel.Name = "AfterLabel"; + this.AfterLabel.Size = new System.Drawing.Size(28, 13); + this.AfterLabel.TabIndex = 35; + this.AfterLabel.Text = "after"; + // // SeverityComboBox // this.SeverityComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; @@ -152,7 +199,7 @@ this.SeverityLabel.Name = "SeverityLabel"; this.SeverityLabel.Size = new System.Drawing.Size(80, 13); this.SeverityLabel.TabIndex = 33; - this.SeverityLabel.Text = "Failure severity:"; + this.SeverityLabel.Text = "Failure se&verity:"; // // ScheduleAtPanel // @@ -160,7 +207,7 @@ this.ScheduleAtPanel.Controls.Add(this.ScheduleAtLabel); this.ScheduleAtPanel.Location = new System.Drawing.Point(258, 76); this.ScheduleAtPanel.Name = "ScheduleAtPanel"; - this.ScheduleAtPanel.Size = new System.Drawing.Size(270, 29); + this.ScheduleAtPanel.Size = new System.Drawing.Size(265, 29); this.ScheduleAtPanel.TabIndex = 32; this.ScheduleAtPanel.Visible = false; // @@ -191,7 +238,7 @@ this.ScheduleBetweenPanel.Controls.Add(this.ScheduleBetweenLabel); this.ScheduleBetweenPanel.Location = new System.Drawing.Point(258, 76); this.ScheduleBetweenPanel.Name = "ScheduleBetweenPanel"; - this.ScheduleBetweenPanel.Size = new System.Drawing.Size(270, 29); + this.ScheduleBetweenPanel.Size = new System.Drawing.Size(265, 29); this.ScheduleBetweenPanel.TabIndex = 31; // // ScheduleBetweenAndLabel @@ -249,8 +296,8 @@ this.ScheduleEveryLabel.Location = new System.Drawing.Point(89, 82); this.ScheduleEveryLabel.Name = "ScheduleEveryLabel"; this.ScheduleEveryLabel.Size = new System.Drawing.Size(34, 13); - this.ScheduleEveryLabel.TabIndex = 29; - this.ScheduleEveryLabel.Text = "Every"; + this.ScheduleEveryLabel.TabIndex = 27; + this.ScheduleEveryLabel.Text = "&Every"; // // FrequencyUpDown // @@ -289,7 +336,7 @@ 0}); this.TimeoutInput.Name = "TimeoutInput"; this.TimeoutInput.Size = new System.Drawing.Size(58, 20); - this.TimeoutInput.TabIndex = 27; + this.TimeoutInput.TabIndex = 25; this.TimeoutInput.Value = new decimal(new int[] { 5000, 0, @@ -302,8 +349,8 @@ this.PingTimeoutLabel.Location = new System.Drawing.Point(6, 56); this.PingTimeoutLabel.Name = "PingTimeoutLabel"; this.PingTimeoutLabel.Size = new System.Drawing.Size(70, 13); - this.PingTimeoutLabel.TabIndex = 26; - this.PingTimeoutLabel.Text = "Timeout (ms):"; + this.PingTimeoutLabel.TabIndex = 24; + this.PingTimeoutLabel.Text = "&Timeout (ms):"; // // ScheduleLabel // @@ -311,7 +358,7 @@ this.ScheduleLabel.Location = new System.Drawing.Point(6, 82); this.ScheduleLabel.Name = "ScheduleLabel"; this.ScheduleLabel.Size = new System.Drawing.Size(55, 13); - this.ScheduleLabel.TabIndex = 25; + this.ScheduleLabel.TabIndex = 26; this.ScheduleLabel.Text = "Schedule:"; // // NameLabel @@ -321,7 +368,7 @@ this.NameLabel.Name = "NameLabel"; this.NameLabel.Size = new System.Drawing.Size(38, 13); this.NameLabel.TabIndex = 21; - this.NameLabel.Text = "Name:"; + this.NameLabel.Text = "&Name:"; // // NameTextBox // @@ -329,6 +376,7 @@ this.NameTextBox.Name = "NameTextBox"; this.NameTextBox.Size = new System.Drawing.Size(181, 20); this.NameTextBox.TabIndex = 22; + this.NameTextBox.TextChanged += new System.EventHandler(this.NameTextBox_TextChanged); // // EnabledCheckBox // @@ -339,17 +387,17 @@ this.EnabledCheckBox.Name = "EnabledCheckBox"; this.EnabledCheckBox.Size = new System.Drawing.Size(65, 17); this.EnabledCheckBox.TabIndex = 23; - this.EnabledCheckBox.Text = "Enabled"; + this.EnabledCheckBox.Text = "&Enabled"; this.EnabledCheckBox.UseVisualStyleBackColor = true; // // OkButton // this.OkButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.OkButton.DialogResult = System.Windows.Forms.DialogResult.OK; - this.OkButton.Location = new System.Drawing.Point(393, 397); + this.OkButton.Location = new System.Drawing.Point(382, 334); this.OkButton.Name = "OkButton"; this.OkButton.Size = new System.Drawing.Size(75, 23); - this.OkButton.TabIndex = 20; + this.OkButton.TabIndex = 101; this.OkButton.Text = "OK"; this.OkButton.UseVisualStyleBackColor = true; this.OkButton.Click += new System.EventHandler(this.OkButton_Click); @@ -358,10 +406,10 @@ // this.CancelCheckButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.CancelCheckButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; - this.CancelCheckButton.Location = new System.Drawing.Point(474, 397); + this.CancelCheckButton.Location = new System.Drawing.Point(463, 334); this.CancelCheckButton.Name = "CancelCheckButton"; this.CancelCheckButton.Size = new System.Drawing.Size(75, 23); - this.CancelCheckButton.TabIndex = 19; + this.CancelCheckButton.TabIndex = 102; this.CancelCheckButton.Text = "Cancel"; this.CancelCheckButton.UseVisualStyleBackColor = true; this.CancelCheckButton.Click += new System.EventHandler(this.CancelCheckButton_Click); @@ -371,9 +419,10 @@ this.CheckSettingsPanel.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); + this.CheckSettingsPanel.BackColor = System.Drawing.SystemColors.Control; this.CheckSettingsPanel.Location = new System.Drawing.Point(12, 180); this.CheckSettingsPanel.Name = "CheckSettingsPanel"; - this.CheckSettingsPanel.Size = new System.Drawing.Size(537, 211); + this.CheckSettingsPanel.Size = new System.Drawing.Size(526, 148); this.CheckSettingsPanel.TabIndex = 27; // // ResultLabel @@ -381,9 +430,9 @@ this.ResultLabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.ResultLabel.AutoEllipsis = true; - this.ResultLabel.Location = new System.Drawing.Point(115, 394); + this.ResultLabel.Location = new System.Drawing.Point(115, 331); this.ResultLabel.Name = "ResultLabel"; - this.ResultLabel.Size = new System.Drawing.Size(272, 29); + this.ResultLabel.Size = new System.Drawing.Size(261, 29); this.ResultLabel.TabIndex = 29; this.ResultLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.ResultLabel.Visible = false; @@ -391,7 +440,7 @@ // ResultIconPictureBox // this.ResultIconPictureBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); - this.ResultIconPictureBox.Location = new System.Drawing.Point(93, 399); + this.ResultIconPictureBox.Location = new System.Drawing.Point(93, 336); this.ResultIconPictureBox.Name = "ResultIconPictureBox"; this.ResultIconPictureBox.Size = new System.Drawing.Size(20, 20); this.ResultIconPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; @@ -403,7 +452,7 @@ // this.CancelRunButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.CancelRunButton.Image = global::ServerMonitorApp.Properties.Resources.delete; - this.CancelRunButton.Location = new System.Drawing.Point(93, 397); + this.CancelRunButton.Location = new System.Drawing.Point(93, 334); this.CancelRunButton.Name = "CancelRunButton"; this.CancelRunButton.Size = new System.Drawing.Size(75, 23); this.CancelRunButton.TabIndex = 28; @@ -417,10 +466,10 @@ // this.RunButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.RunButton.Image = global::ServerMonitorApp.Properties.Resources.run; - this.RunButton.Location = new System.Drawing.Point(12, 397); + this.RunButton.Location = new System.Drawing.Point(12, 334); this.RunButton.Name = "RunButton"; this.RunButton.Size = new System.Drawing.Size(75, 23); - this.RunButton.TabIndex = 26; + this.RunButton.TabIndex = 100; this.RunButton.Text = "Run"; this.RunButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; this.RunButton.UseVisualStyleBackColor = true; @@ -432,7 +481,7 @@ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.CancelButton = this.CancelCheckButton; - this.ClientSize = new System.Drawing.Size(561, 432); + this.ClientSize = new System.Drawing.Size(550, 369); this.Controls.Add(this.ResultIconPictureBox); this.Controls.Add(this.ResultLabel); this.Controls.Add(this.CancelRunButton); @@ -442,9 +491,11 @@ this.Controls.Add(this.CancelCheckButton); this.Controls.Add(this.GeneralGroupBox); this.Controls.Add(this.CheckTypePanel); - this.MinimumSize = new System.Drawing.Size(550, 38); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; + this.MaximizeBox = false; + this.MinimumSize = new System.Drawing.Size(566, 407); this.Name = "CheckForm"; - this.Text = "CheckForm"; + this.Text = "New Check"; this.Load += new System.EventHandler(this.CheckForm_Load); this.Click += new System.EventHandler(this.Control_Click); this.CheckTypePanel.ResumeLayout(false); @@ -452,6 +503,7 @@ ((System.ComponentModel.ISupportInitialize)(this.TypeHelpPictureBox)).EndInit(); this.GeneralGroupBox.ResumeLayout(false); this.GeneralGroupBox.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.FailuresInput)).EndInit(); this.ScheduleAtPanel.ResumeLayout(false); this.ScheduleAtPanel.PerformLayout(); this.ScheduleBetweenPanel.ResumeLayout(false); @@ -496,5 +548,8 @@ private System.Windows.Forms.Label ScheduleAtLabel; private System.Windows.Forms.ComboBox SeverityComboBox; private System.Windows.Forms.Label SeverityLabel; + private System.Windows.Forms.Label AfterLabel; + private System.Windows.Forms.NumericUpDown FailuresInput; + private System.Windows.Forms.Label FailuresLabel; } } \ No newline at end of file