diff 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
line wrap: on
line diff
--- a/ServerMonitor/Forms/SettingsForm.Designer.cs	Thu Feb 28 21:19:32 2019 -0500
+++ b/ServerMonitor/Forms/SettingsForm.Designer.cs	Fri Mar 01 21:38:22 2019 -0500
@@ -41,10 +41,14 @@
             this.label1 = new System.Windows.Forms.Label();
             this.OkButton = new System.Windows.Forms.Button();
             this.CancelSettingsButton = new System.Windows.Forms.Button();
+            this.KeepLogDaysInput = new System.Windows.Forms.NumericUpDown();
+            this.DeleteLabel = new System.Windows.Forms.Label();
+            this.DaysLabel = new System.Windows.Forms.Label();
             this.SeverityOptionsGroupBox.SuspendLayout();
             ((System.ComponentModel.ISupportInitialize)(this.InformationIcon)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.WarningIcon)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.ErrorIcon)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.KeepLogDaysInput)).BeginInit();
             this.SuspendLayout();
             // 
             // SeverityOptionsGroupBox
@@ -60,7 +64,7 @@
             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, 57);
+            this.SeverityOptionsGroupBox.Location = new System.Drawing.Point(12, 61);
             this.SeverityOptionsGroupBox.Name = "SeverityOptionsGroupBox";
             this.SeverityOptionsGroupBox.Size = new System.Drawing.Size(337, 104);
             this.SeverityOptionsGroupBox.TabIndex = 0;
@@ -164,7 +168,7 @@
             // 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, 170);
+            this.OkButton.Location = new System.Drawing.Point(193, 176);
             this.OkButton.Name = "OkButton";
             this.OkButton.Size = new System.Drawing.Size(75, 23);
             this.OkButton.TabIndex = 2;
@@ -175,7 +179,8 @@
             // CancelSettingsButton
             // 
             this.CancelSettingsButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
-            this.CancelSettingsButton.Location = new System.Drawing.Point(274, 170);
+            this.CancelSettingsButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
+            this.CancelSettingsButton.Location = new System.Drawing.Point(274, 176);
             this.CancelSettingsButton.Name = "CancelSettingsButton";
             this.CancelSettingsButton.Size = new System.Drawing.Size(75, 23);
             this.CancelSettingsButton.TabIndex = 3;
@@ -183,16 +188,52 @@
             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.Maximum = new decimal(new int[] {
+            9999,
+            0,
+            0,
+            0});
+            this.KeepLogDaysInput.Name = "KeepLogDaysInput";
+            this.KeepLogDaysInput.Size = new System.Drawing.Size(50, 20);
+            this.KeepLogDaysInput.TabIndex = 4;
+            // 
+            // DeleteLabel
+            // 
+            this.DeleteLabel.AutoSize = true;
+            this.DeleteLabel.Location = new System.Drawing.Point(15, 33);
+            this.DeleteLabel.Name = "DeleteLabel";
+            this.DeleteLabel.Size = new System.Drawing.Size(113, 13);
+            this.DeleteLabel.TabIndex = 5;
+            this.DeleteLabel.Text = "Delete log entries after";
+            // 
+            // DaysLabel
+            // 
+            this.DaysLabel.AutoSize = true;
+            this.DaysLabel.Location = new System.Drawing.Point(182, 33);
+            this.DaysLabel.Name = "DaysLabel";
+            this.DaysLabel.Size = new System.Drawing.Size(29, 13);
+            this.DaysLabel.TabIndex = 6;
+            this.DaysLabel.Text = "days";
+            // 
             // SettingsForm
             // 
             this.AcceptButton = this.OkButton;
             this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
-            this.ClientSize = new System.Drawing.Size(361, 205);
+            this.CancelButton = this.CancelSettingsButton;
+            this.ClientSize = new System.Drawing.Size(361, 211);
+            this.Controls.Add(this.DaysLabel);
+            this.Controls.Add(this.DeleteLabel);
+            this.Controls.Add(this.KeepLogDaysInput);
             this.Controls.Add(this.CancelSettingsButton);
             this.Controls.Add(this.OkButton);
             this.Controls.Add(this.label1);
             this.Controls.Add(this.SeverityOptionsGroupBox);
+            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
+            this.MaximizeBox = false;
             this.Name = "SettingsForm";
             this.Text = "Options";
             this.Load += new System.EventHandler(this.SettingsForm_Load);
@@ -201,6 +242,7 @@
             ((System.ComponentModel.ISupportInitialize)(this.InformationIcon)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.WarningIcon)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.ErrorIcon)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.KeepLogDaysInput)).EndInit();
             this.ResumeLayout(false);
             this.PerformLayout();
 
@@ -221,5 +263,8 @@
         private System.Windows.Forms.ComboBox InformationComboBox;
         private System.Windows.Forms.Button OkButton;
         private System.Windows.Forms.Button CancelSettingsButton;
+        private System.Windows.Forms.NumericUpDown KeepLogDaysInput;
+        private System.Windows.Forms.Label DeleteLabel;
+        private System.Windows.Forms.Label DaysLabel;
     }
 }
\ No newline at end of file