Mercurial > servermonitor
view ServerMonitor/Forms/SettingsForm.Designer.cs @ 23:3866c19535fd
Fix NullReferenceException when checks are executed on a brand new server.
author | Brad Greco <brad@bgreco.net> |
---|---|
date | Thu, 30 May 2019 21:40:27 -0400 |
parents | 75ca86e0862c |
children | f6235dc0a8ec |
line wrap: on
line source
namespace ServerMonitorApp { partial class SettingsForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } #region Windows Form Designer generated code /// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.SeverityOptionsGroupBox = new System.Windows.Forms.GroupBox(); this.ErrorComboBox = new System.Windows.Forms.ComboBox(); this.WarningComboBox = new System.Windows.Forms.ComboBox(); this.InformationComboBox = new System.Windows.Forms.ComboBox(); this.InformationLabel = new System.Windows.Forms.Label(); this.InformationIcon = new System.Windows.Forms.PictureBox(); this.WarningLabel = new System.Windows.Forms.Label(); this.WarningIcon = new System.Windows.Forms.PictureBox(); this.ErrorLabel = new System.Windows.Forms.Label(); this.ErrorIcon = new System.Windows.Forms.PictureBox(); 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.AutorunCheckBox = new System.Windows.Forms.CheckBox(); this.KeepRunningCheckBox = new System.Windows.Forms.CheckBox(); 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 // this.SeverityOptionsGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.SeverityOptionsGroupBox.Controls.Add(this.ErrorComboBox); this.SeverityOptionsGroupBox.Controls.Add(this.WarningComboBox); this.SeverityOptionsGroupBox.Controls.Add(this.InformationComboBox); this.SeverityOptionsGroupBox.Controls.Add(this.InformationLabel); this.SeverityOptionsGroupBox.Controls.Add(this.InformationIcon); this.SeverityOptionsGroupBox.Controls.Add(this.WarningLabel); 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, 109); this.SeverityOptionsGroupBox.Name = "SeverityOptionsGroupBox"; this.SeverityOptionsGroupBox.Size = new System.Drawing.Size(337, 104); this.SeverityOptionsGroupBox.TabIndex = 8; this.SeverityOptionsGroupBox.TabStop = false; this.SeverityOptionsGroupBox.Text = "Severity settings"; // // ErrorComboBox // this.ErrorComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.ErrorComboBox.FormattingEnabled = true; 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 = 9; // // WarningComboBox // this.WarningComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.WarningComboBox.FormattingEnabled = true; 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 = 11; // // InformationComboBox // this.InformationComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.InformationComboBox.FormattingEnabled = true; 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 = 13; // // InformationLabel // this.InformationLabel.AutoSize = true; 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 = 12; this.InformationLabel.Text = "&Information action:"; // // InformationIcon // this.InformationIcon.Image = global::ServerMonitorApp.Properties.Resources.info; this.InformationIcon.Location = new System.Drawing.Point(6, 73); this.InformationIcon.Name = "InformationIcon"; this.InformationIcon.Size = new System.Drawing.Size(16, 16); this.InformationIcon.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; this.InformationIcon.TabIndex = 4; this.InformationIcon.TabStop = false; // // WarningLabel // this.WarningLabel.AutoSize = true; 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 = 10; this.WarningLabel.Text = "&Warning action:"; // // WarningIcon // this.WarningIcon.Image = global::ServerMonitorApp.Properties.Resources.warning; this.WarningIcon.Location = new System.Drawing.Point(6, 46); this.WarningIcon.Name = "WarningIcon"; this.WarningIcon.Size = new System.Drawing.Size(16, 16); this.WarningIcon.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; this.WarningIcon.TabIndex = 2; this.WarningIcon.TabStop = false; // // ErrorLabel // this.ErrorLabel.AutoSize = true; 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 = 8; this.ErrorLabel.Text = "&Error action:"; // // ErrorIcon // this.ErrorIcon.Image = global::ServerMonitorApp.Properties.Resources.error; this.ErrorIcon.Location = new System.Drawing.Point(6, 19); this.ErrorIcon.Name = "ErrorIcon"; this.ErrorIcon.Size = new System.Drawing.Size(16, 16); this.ErrorIcon.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; this.ErrorIcon.TabIndex = 0; this.ErrorIcon.TabStop = false; // // label1 // this.label1.AutoSize = true; this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.Location = new System.Drawing.Point(9, 9); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(50, 13); this.label1.TabIndex = 1; this.label1.Text = "Options"; // // 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, 224); this.OkButton.Name = "OkButton"; this.OkButton.Size = new System.Drawing.Size(75, 23); this.OkButton.TabIndex = 50; this.OkButton.Text = "&OK"; this.OkButton.UseVisualStyleBackColor = true; this.OkButton.Click += new System.EventHandler(this.OkButton_Click); // // CancelSettingsButton // 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, 224); this.CancelSettingsButton.Name = "CancelSettingsButton"; this.CancelSettingsButton.Size = new System.Drawing.Size(75, 23); 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, 81); 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 = 6; // // DeleteLabel // this.DeleteLabel.AutoSize = true; this.DeleteLabel.Location = new System.Drawing.Point(15, 83); 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, 83); this.DaysLabel.Name = "DaysLabel"; this.DaysLabel.Size = new System.Drawing.Size(29, 13); 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; // // KeepRunningCheckBox // this.KeepRunningCheckBox.AutoSize = true; this.KeepRunningCheckBox.Location = new System.Drawing.Point(18, 59); this.KeepRunningCheckBox.Name = "KeepRunningCheckBox"; this.KeepRunningCheckBox.Size = new System.Drawing.Size(219, 17); this.KeepRunningCheckBox.TabIndex = 52; this.KeepRunningCheckBox.Text = "&Minimize to notification area when closed"; this.KeepRunningCheckBox.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, 259); this.Controls.Add(this.KeepRunningCheckBox); this.Controls.Add(this.AutorunCheckBox); 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); this.SeverityOptionsGroupBox.ResumeLayout(false); this.SeverityOptionsGroupBox.PerformLayout(); ((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(); } #endregion private System.Windows.Forms.GroupBox SeverityOptionsGroupBox; private System.Windows.Forms.PictureBox ErrorIcon; private System.Windows.Forms.Label label1; private System.Windows.Forms.Label InformationLabel; private System.Windows.Forms.PictureBox InformationIcon; private System.Windows.Forms.Label WarningLabel; private System.Windows.Forms.PictureBox WarningIcon; private System.Windows.Forms.Label ErrorLabel; private System.Windows.Forms.ComboBox ErrorComboBox; private System.Windows.Forms.ComboBox WarningComboBox; 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; private System.Windows.Forms.CheckBox AutorunCheckBox; private System.Windows.Forms.CheckBox KeepRunningCheckBox; } }