Mercurial > servermonitor
diff 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 |
line wrap: on
line diff
--- a/ServerMonitor/Forms/SettingsForm.Designer.cs Fri Mar 01 21:39:22 2019 -0500 +++ b/ServerMonitor/Forms/SettingsForm.Designer.cs Sat Mar 09 20:14:03 2019 -0500 @@ -44,6 +44,7 @@ this.KeepLogDaysInput = new System.Windows.Forms.NumericUpDown(); this.DeleteLabel = new System.Windows.Forms.Label(); this.DaysLabel = new System.Windows.Forms.Label(); + this.AutorunCheckBox = new System.Windows.Forms.CheckBox(); this.SeverityOptionsGroupBox.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.InformationIcon)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.WarningIcon)).BeginInit(); @@ -64,10 +65,10 @@ this.SeverityOptionsGroupBox.Controls.Add(this.WarningIcon); this.SeverityOptionsGroupBox.Controls.Add(this.ErrorLabel); this.SeverityOptionsGroupBox.Controls.Add(this.ErrorIcon); - this.SeverityOptionsGroupBox.Location = new System.Drawing.Point(12, 61); + this.SeverityOptionsGroupBox.Location = new System.Drawing.Point(12, 89); this.SeverityOptionsGroupBox.Name = "SeverityOptionsGroupBox"; this.SeverityOptionsGroupBox.Size = new System.Drawing.Size(337, 104); - this.SeverityOptionsGroupBox.TabIndex = 0; + this.SeverityOptionsGroupBox.TabIndex = 8; this.SeverityOptionsGroupBox.TabStop = false; this.SeverityOptionsGroupBox.Text = "Severity settings"; // @@ -78,7 +79,7 @@ this.ErrorComboBox.Location = new System.Drawing.Point(125, 17); this.ErrorComboBox.Name = "ErrorComboBox"; this.ErrorComboBox.Size = new System.Drawing.Size(121, 21); - this.ErrorComboBox.TabIndex = 8; + this.ErrorComboBox.TabIndex = 9; // // WarningComboBox // @@ -87,7 +88,7 @@ this.WarningComboBox.Location = new System.Drawing.Point(125, 44); this.WarningComboBox.Name = "WarningComboBox"; this.WarningComboBox.Size = new System.Drawing.Size(121, 21); - this.WarningComboBox.TabIndex = 7; + this.WarningComboBox.TabIndex = 11; // // InformationComboBox // @@ -96,7 +97,7 @@ this.InformationComboBox.Location = new System.Drawing.Point(125, 71); this.InformationComboBox.Name = "InformationComboBox"; this.InformationComboBox.Size = new System.Drawing.Size(121, 21); - this.InformationComboBox.TabIndex = 6; + this.InformationComboBox.TabIndex = 13; // // InformationLabel // @@ -104,8 +105,8 @@ this.InformationLabel.Location = new System.Drawing.Point(25, 74); this.InformationLabel.Name = "InformationLabel"; this.InformationLabel.Size = new System.Drawing.Size(94, 13); - this.InformationLabel.TabIndex = 5; - this.InformationLabel.Text = "Information action:"; + this.InformationLabel.TabIndex = 12; + this.InformationLabel.Text = "&Information action:"; // // InformationIcon // @@ -123,8 +124,8 @@ this.WarningLabel.Location = new System.Drawing.Point(25, 47); this.WarningLabel.Name = "WarningLabel"; this.WarningLabel.Size = new System.Drawing.Size(82, 13); - this.WarningLabel.TabIndex = 3; - this.WarningLabel.Text = "Warning action:"; + this.WarningLabel.TabIndex = 10; + this.WarningLabel.Text = "&Warning action:"; // // WarningIcon // @@ -142,8 +143,8 @@ this.ErrorLabel.Location = new System.Drawing.Point(25, 20); this.ErrorLabel.Name = "ErrorLabel"; this.ErrorLabel.Size = new System.Drawing.Size(64, 13); - this.ErrorLabel.TabIndex = 1; - this.ErrorLabel.Text = "Error action:"; + this.ErrorLabel.TabIndex = 8; + this.ErrorLabel.Text = "&Error action:"; // // ErrorIcon // @@ -168,11 +169,11 @@ // OkButton // this.OkButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - this.OkButton.Location = new System.Drawing.Point(193, 176); + this.OkButton.Location = new System.Drawing.Point(193, 204); this.OkButton.Name = "OkButton"; this.OkButton.Size = new System.Drawing.Size(75, 23); - this.OkButton.TabIndex = 2; - this.OkButton.Text = "OK"; + this.OkButton.TabIndex = 50; + this.OkButton.Text = "&OK"; this.OkButton.UseVisualStyleBackColor = true; this.OkButton.Click += new System.EventHandler(this.OkButton_Click); // @@ -180,17 +181,17 @@ // this.CancelSettingsButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.CancelSettingsButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; - this.CancelSettingsButton.Location = new System.Drawing.Point(274, 176); + this.CancelSettingsButton.Location = new System.Drawing.Point(274, 204); this.CancelSettingsButton.Name = "CancelSettingsButton"; this.CancelSettingsButton.Size = new System.Drawing.Size(75, 23); - this.CancelSettingsButton.TabIndex = 3; - this.CancelSettingsButton.Text = "Cancel"; + this.CancelSettingsButton.TabIndex = 51; + this.CancelSettingsButton.Text = "&Cancel"; this.CancelSettingsButton.UseVisualStyleBackColor = true; this.CancelSettingsButton.Click += new System.EventHandler(this.CancelSettingsButton_Click); // // KeepLogDaysInput // - this.KeepLogDaysInput.Location = new System.Drawing.Point(130, 31); + this.KeepLogDaysInput.Location = new System.Drawing.Point(130, 59); this.KeepLogDaysInput.Maximum = new decimal(new int[] { 9999, 0, @@ -198,33 +199,44 @@ 0}); this.KeepLogDaysInput.Name = "KeepLogDaysInput"; this.KeepLogDaysInput.Size = new System.Drawing.Size(50, 20); - this.KeepLogDaysInput.TabIndex = 4; + this.KeepLogDaysInput.TabIndex = 6; // // DeleteLabel // this.DeleteLabel.AutoSize = true; - this.DeleteLabel.Location = new System.Drawing.Point(15, 33); + this.DeleteLabel.Location = new System.Drawing.Point(15, 61); this.DeleteLabel.Name = "DeleteLabel"; this.DeleteLabel.Size = new System.Drawing.Size(113, 13); this.DeleteLabel.TabIndex = 5; - this.DeleteLabel.Text = "Delete log entries after"; + this.DeleteLabel.Text = "&Delete log entries after"; // // DaysLabel // this.DaysLabel.AutoSize = true; - this.DaysLabel.Location = new System.Drawing.Point(182, 33); + this.DaysLabel.Location = new System.Drawing.Point(182, 61); this.DaysLabel.Name = "DaysLabel"; this.DaysLabel.Size = new System.Drawing.Size(29, 13); - this.DaysLabel.TabIndex = 6; + this.DaysLabel.TabIndex = 7; this.DaysLabel.Text = "days"; // + // AutorunCheckBox + // + this.AutorunCheckBox.AutoSize = true; + this.AutorunCheckBox.Location = new System.Drawing.Point(18, 36); + this.AutorunCheckBox.Name = "AutorunCheckBox"; + this.AutorunCheckBox.Size = new System.Drawing.Size(117, 17); + this.AutorunCheckBox.TabIndex = 3; + this.AutorunCheckBox.Text = "&Start with Windows"; + this.AutorunCheckBox.UseVisualStyleBackColor = true; + // // SettingsForm // this.AcceptButton = this.OkButton; this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.CancelButton = this.CancelSettingsButton; - this.ClientSize = new System.Drawing.Size(361, 211); + this.ClientSize = new System.Drawing.Size(361, 239); + this.Controls.Add(this.AutorunCheckBox); this.Controls.Add(this.DaysLabel); this.Controls.Add(this.DeleteLabel); this.Controls.Add(this.KeepLogDaysInput); @@ -266,5 +278,6 @@ private System.Windows.Forms.NumericUpDown KeepLogDaysInput; private System.Windows.Forms.Label DeleteLabel; private System.Windows.Forms.Label DaysLabel; + private System.Windows.Forms.CheckBox AutorunCheckBox; } } \ No newline at end of file