Mercurial > servermonitor
diff ServerMonitor/Forms/ServerForm.Designer.cs @ 0:3e1a2131f897
Initial commit. Ping check, scheduling, UI working. SSH check mostly working.
author | Brad Greco <brad@bgreco.net> |
---|---|
date | Mon, 31 Dec 2018 18:32:14 -0500 |
parents | |
children | 3142e52cbe69 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ServerMonitor/Forms/ServerForm.Designer.cs Mon Dec 31 18:32:14 2018 -0500 @@ -0,0 +1,755 @@ +namespace ServerMonitorApp +{ + partial class ServerForm + { + /// <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.components = new System.ComponentModel.Container(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ServerForm)); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); + this.TitleLabel = new System.Windows.Forms.Label(); + this.NameTextBox = new System.Windows.Forms.TextBox(); + this.NameLabel = new System.Windows.Forms.Label(); + this.HostTextBox = new System.Windows.Forms.TextBox(); + this.PortTextBox = new System.Windows.Forms.TextBox(); + this.HostLabel = new System.Windows.Forms.Label(); + this.PortLabel = new System.Windows.Forms.Label(); + this.LoginComboBox = new System.Windows.Forms.ComboBox(); + this.UsernameLabel = new System.Windows.Forms.Label(); + this.UsernameTextBox = new System.Windows.Forms.TextBox(); + this.KeyTextBox = new System.Windows.Forms.TextBox(); + this.LoginLabel = new System.Windows.Forms.Label(); + this.KeyBrowseButton = new System.Windows.Forms.Button(); + this.PasswordTextBox = new System.Windows.Forms.TextBox(); + this.CheckGrid = new System.Windows.Forms.DataGridView(); + this.CheckActionsDividerLabel = new System.Windows.Forms.Label(); + this.RunAllButton = new System.Windows.Forms.Button(); + this.RunButton = new System.Windows.Forms.Button(); + this.EditCheckButton = new System.Windows.Forms.Button(); + this.DeleteCheckButton = new System.Windows.Forms.Button(); + this.NewCheckButton = new System.Windows.Forms.Button(); + this.CheckTabControl = new System.Windows.Forms.TabControl(); + this.CheckTabPage = new System.Windows.Forms.TabPage(); + this.LogTabPage = new System.Windows.Forms.TabPage(); + this.LogWarningCheckBox = new System.Windows.Forms.CheckBox(); + this.LogErrorCheckBox = new System.Windows.Forms.CheckBox(); + this.LogInformationCheckBox = new System.Windows.Forms.CheckBox(); + this.LogSuccessCheckBox = new System.Windows.Forms.CheckBox(); + this.LogCheckLabel = new System.Windows.Forms.Label(); + this.LogCheckComboBox = new System.Windows.Forms.ComboBox(); + this.LogGrid = new System.Windows.Forms.DataGridView(); + this.dataGridViewImageColumn1 = new System.Windows.Forms.DataGridViewImageColumn(); + this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.ServerInfoPanel = new System.Windows.Forms.Panel(); + this.dataGridViewImageColumn2 = new System.Windows.Forms.DataGridViewImageColumn(); + this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.LastRunTimeColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.EnabledColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn(); + this.dataGridViewImageColumn3 = new System.Windows.Forms.DataGridViewImageColumn(); + this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.StatusColumn = new System.Windows.Forms.DataGridViewImageColumn(); + this.NameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.ScheduleColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.CheckBindingSource = new System.Windows.Forms.BindingSource(this.components); + this.LogStatusColumn = new System.Windows.Forms.DataGridViewImageColumn(); + this.LogNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.LogMessageColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.LogStartTimeColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.LogEndTimeColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.CheckResultBindingSource = new System.Windows.Forms.BindingSource(this.components); + ((System.ComponentModel.ISupportInitialize)(this.CheckGrid)).BeginInit(); + this.CheckTabControl.SuspendLayout(); + this.CheckTabPage.SuspendLayout(); + this.LogTabPage.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.LogGrid)).BeginInit(); + this.ServerInfoPanel.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.CheckBindingSource)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.CheckResultBindingSource)).BeginInit(); + this.SuspendLayout(); + // + // TitleLabel + // + this.TitleLabel.Dock = System.Windows.Forms.DockStyle.Top; + this.TitleLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 16F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.TitleLabel.Location = new System.Drawing.Point(0, 0); + this.TitleLabel.Name = "TitleLabel"; + this.TitleLabel.Padding = new System.Windows.Forms.Padding(0, 20, 0, 0); + this.TitleLabel.Size = new System.Drawing.Size(728, 65); + this.TitleLabel.TabIndex = 0; + this.TitleLabel.Text = "New Server"; + this.TitleLabel.TextAlign = System.Drawing.ContentAlignment.TopCenter; + // + // NameTextBox + // + this.NameTextBox.Location = new System.Drawing.Point(61, 4); + this.NameTextBox.Name = "NameTextBox"; + this.NameTextBox.Size = new System.Drawing.Size(354, 20); + this.NameTextBox.TabIndex = 3; + this.NameTextBox.TextChanged += new System.EventHandler(this.NameTextBox_TextChanged); + // + // NameLabel + // + this.NameLabel.AutoSize = true; + this.NameLabel.Location = new System.Drawing.Point(6, 7); + this.NameLabel.Name = "NameLabel"; + this.NameLabel.Size = new System.Drawing.Size(35, 13); + this.NameLabel.TabIndex = 2; + this.NameLabel.Text = "Name"; + this.NameLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // HostTextBox + // + this.HostTextBox.Location = new System.Drawing.Point(61, 30); + this.HostTextBox.Name = "HostTextBox"; + this.HostTextBox.Size = new System.Drawing.Size(354, 20); + this.HostTextBox.TabIndex = 6; + // + // PortTextBox + // + this.PortTextBox.Location = new System.Drawing.Point(61, 56); + this.PortTextBox.Name = "PortTextBox"; + this.PortTextBox.Size = new System.Drawing.Size(57, 20); + this.PortTextBox.TabIndex = 7; + // + // HostLabel + // + this.HostLabel.AutoSize = true; + this.HostLabel.Location = new System.Drawing.Point(6, 33); + this.HostLabel.Name = "HostLabel"; + this.HostLabel.Size = new System.Drawing.Size(29, 13); + this.HostLabel.TabIndex = 8; + this.HostLabel.Text = "Host"; + this.HostLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // PortLabel + // + this.PortLabel.AutoSize = true; + this.PortLabel.Location = new System.Drawing.Point(6, 59); + this.PortLabel.Name = "PortLabel"; + this.PortLabel.Size = new System.Drawing.Size(50, 13); + this.PortLabel.TabIndex = 9; + this.PortLabel.Text = "SSH port"; + this.PortLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // LoginComboBox + // + this.LoginComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.LoginComboBox.FormattingEnabled = true; + this.LoginComboBox.Items.AddRange(new object[] { + "Private key", + "Password"}); + this.LoginComboBox.Location = new System.Drawing.Point(61, 82); + this.LoginComboBox.Name = "LoginComboBox"; + this.LoginComboBox.Size = new System.Drawing.Size(80, 21); + this.LoginComboBox.TabIndex = 10; + this.LoginComboBox.SelectedIndexChanged += new System.EventHandler(this.LoginComboBox_SelectedIndexChanged); + // + // UsernameLabel + // + this.UsernameLabel.AutoSize = true; + this.UsernameLabel.Location = new System.Drawing.Point(144, 59); + this.UsernameLabel.Name = "UsernameLabel"; + this.UsernameLabel.Size = new System.Drawing.Size(78, 13); + this.UsernameLabel.TabIndex = 11; + this.UsernameLabel.Text = "SSH username"; + this.UsernameLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // UsernameTextBox + // + this.UsernameTextBox.Location = new System.Drawing.Point(228, 56); + this.UsernameTextBox.Name = "UsernameTextBox"; + this.UsernameTextBox.Size = new System.Drawing.Size(187, 20); + this.UsernameTextBox.TabIndex = 12; + // + // KeyTextBox + // + this.KeyTextBox.Location = new System.Drawing.Point(143, 82); + this.KeyTextBox.Name = "KeyTextBox"; + this.KeyTextBox.Size = new System.Drawing.Size(202, 20); + this.KeyTextBox.TabIndex = 13; + // + // LoginLabel + // + this.LoginLabel.AutoSize = true; + this.LoginLabel.Location = new System.Drawing.Point(6, 85); + this.LoginLabel.Name = "LoginLabel"; + this.LoginLabel.Size = new System.Drawing.Size(54, 13); + this.LoginLabel.TabIndex = 14; + this.LoginLabel.Text = "SSH login"; + this.LoginLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // KeyBrowseButton + // + this.KeyBrowseButton.Location = new System.Drawing.Point(355, 80); + this.KeyBrowseButton.Name = "KeyBrowseButton"; + this.KeyBrowseButton.Size = new System.Drawing.Size(60, 23); + this.KeyBrowseButton.TabIndex = 15; + this.KeyBrowseButton.Text = "Browse..."; + this.KeyBrowseButton.UseVisualStyleBackColor = true; + // + // PasswordTextBox + // + this.PasswordTextBox.Location = new System.Drawing.Point(147, 82); + this.PasswordTextBox.Name = "PasswordTextBox"; + this.PasswordTextBox.Size = new System.Drawing.Size(268, 20); + this.PasswordTextBox.TabIndex = 16; + this.PasswordTextBox.UseSystemPasswordChar = true; + this.PasswordTextBox.Visible = false; + this.PasswordTextBox.TextChanged += new System.EventHandler(this.PasswordTextBox_TextChanged); + // + // CheckGrid + // + this.CheckGrid.AllowUserToAddRows = false; + this.CheckGrid.AllowUserToDeleteRows = false; + this.CheckGrid.AllowUserToOrderColumns = true; + this.CheckGrid.AllowUserToResizeRows = false; + this.CheckGrid.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.CheckGrid.AutoGenerateColumns = false; + this.CheckGrid.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill; + this.CheckGrid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this.CheckGrid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { + this.StatusColumn, + this.NameColumn, + this.ScheduleColumn, + this.LastRunTimeColumn, + this.EnabledColumn}); + this.CheckGrid.DataSource = this.CheckBindingSource; + this.CheckGrid.Location = new System.Drawing.Point(0, 0); + this.CheckGrid.Name = "CheckGrid"; + this.CheckGrid.RowHeadersVisible = false; + this.CheckGrid.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; + this.CheckGrid.ShowEditingIcon = false; + this.CheckGrid.Size = new System.Drawing.Size(611, 256); + this.CheckGrid.TabIndex = 19; + this.CheckGrid.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.CheckGrid_CellClick); + this.CheckGrid.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.CheckGrid_CellContentClick); + this.CheckGrid.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.CheckGrid_CellDoubleClick); + this.CheckGrid.CellFormatting += new System.Windows.Forms.DataGridViewCellFormattingEventHandler(this.CheckGrid_CellFormatting); + this.CheckGrid.CellMouseEnter += new System.Windows.Forms.DataGridViewCellEventHandler(this.CheckGrid_CellMouseEnter); + this.CheckGrid.CellMouseLeave += new System.Windows.Forms.DataGridViewCellEventHandler(this.CheckGrid_CellMouseLeave); + this.CheckGrid.SelectionChanged += new System.EventHandler(this.CheckGrid_SelectionChanged); + this.CheckGrid.KeyDown += new System.Windows.Forms.KeyEventHandler(this.CheckGrid_KeyDown); + // + // CheckActionsDividerLabel + // + this.CheckActionsDividerLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.CheckActionsDividerLabel.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; + this.CheckActionsDividerLabel.Location = new System.Drawing.Point(617, 79); + this.CheckActionsDividerLabel.Name = "CheckActionsDividerLabel"; + this.CheckActionsDividerLabel.Size = new System.Drawing.Size(75, 2); + this.CheckActionsDividerLabel.TabIndex = 26; + // + // RunAllButton + // + this.RunAllButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.RunAllButton.Image = ((System.Drawing.Image)(resources.GetObject("RunAllButton.Image"))); + this.RunAllButton.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.RunAllButton.Location = new System.Drawing.Point(617, 52); + this.RunAllButton.Name = "RunAllButton"; + this.RunAllButton.Padding = new System.Windows.Forms.Padding(5, 0, 0, 0); + this.RunAllButton.Size = new System.Drawing.Size(75, 23); + this.RunAllButton.TabIndex = 25; + this.RunAllButton.Text = "Run All"; + this.RunAllButton.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.RunAllButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; + this.RunAllButton.UseVisualStyleBackColor = true; + this.RunAllButton.Click += new System.EventHandler(this.RunAllButton_Click); + // + // RunButton + // + this.RunButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.RunButton.Image = global::ServerMonitorApp.Properties.Resources.run; + this.RunButton.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.RunButton.Location = new System.Drawing.Point(617, 84); + this.RunButton.Name = "RunButton"; + this.RunButton.Padding = new System.Windows.Forms.Padding(5, 0, 0, 0); + this.RunButton.Size = new System.Drawing.Size(75, 23); + this.RunButton.TabIndex = 24; + this.RunButton.Text = "Run"; + this.RunButton.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.RunButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; + this.RunButton.UseVisualStyleBackColor = true; + this.RunButton.Click += new System.EventHandler(this.RunButton_Click); + // + // EditCheckButton + // + this.EditCheckButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.EditCheckButton.Enabled = false; + this.EditCheckButton.Image = global::ServerMonitorApp.Properties.Resources.edit; + this.EditCheckButton.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.EditCheckButton.Location = new System.Drawing.Point(617, 113); + this.EditCheckButton.Name = "EditCheckButton"; + this.EditCheckButton.Padding = new System.Windows.Forms.Padding(5, 0, 0, 0); + this.EditCheckButton.Size = new System.Drawing.Size(75, 23); + this.EditCheckButton.TabIndex = 23; + this.EditCheckButton.Text = "Edit"; + this.EditCheckButton.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.EditCheckButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; + this.EditCheckButton.UseVisualStyleBackColor = true; + this.EditCheckButton.Click += new System.EventHandler(this.EditCheckButton_Click); + // + // DeleteCheckButton + // + this.DeleteCheckButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.DeleteCheckButton.Enabled = false; + this.DeleteCheckButton.Image = global::ServerMonitorApp.Properties.Resources.delete; + this.DeleteCheckButton.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.DeleteCheckButton.Location = new System.Drawing.Point(617, 142); + this.DeleteCheckButton.Name = "DeleteCheckButton"; + this.DeleteCheckButton.Padding = new System.Windows.Forms.Padding(5, 0, 0, 0); + this.DeleteCheckButton.Size = new System.Drawing.Size(75, 23); + this.DeleteCheckButton.TabIndex = 21; + this.DeleteCheckButton.Text = "Delete"; + this.DeleteCheckButton.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.DeleteCheckButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; + this.DeleteCheckButton.UseVisualStyleBackColor = true; + this.DeleteCheckButton.Click += new System.EventHandler(this.DeleteCheckButton_Click); + // + // NewCheckButton + // + this.NewCheckButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.NewCheckButton.Image = ((System.Drawing.Image)(resources.GetObject("NewCheckButton.Image"))); + this.NewCheckButton.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.NewCheckButton.Location = new System.Drawing.Point(617, 23); + this.NewCheckButton.Name = "NewCheckButton"; + this.NewCheckButton.Padding = new System.Windows.Forms.Padding(5, 0, 0, 0); + this.NewCheckButton.Size = new System.Drawing.Size(75, 23); + this.NewCheckButton.TabIndex = 20; + this.NewCheckButton.Text = "New"; + this.NewCheckButton.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.NewCheckButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; + this.NewCheckButton.UseVisualStyleBackColor = true; + this.NewCheckButton.Click += new System.EventHandler(this.NewCheckButton_Click); + // + // CheckTabControl + // + this.CheckTabControl.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.CheckTabControl.Controls.Add(this.CheckTabPage); + this.CheckTabControl.Controls.Add(this.LogTabPage); + this.CheckTabControl.Location = new System.Drawing.Point(15, 173); + this.CheckTabControl.Name = "CheckTabControl"; + this.CheckTabControl.SelectedIndex = 0; + this.CheckTabControl.Size = new System.Drawing.Size(701, 282); + this.CheckTabControl.TabIndex = 21; + this.CheckTabControl.SelectedIndexChanged += new System.EventHandler(this.CheckTabControl_SelectedIndexChanged); + // + // CheckTabPage + // + this.CheckTabPage.BackColor = System.Drawing.SystemColors.Control; + this.CheckTabPage.Controls.Add(this.CheckActionsDividerLabel); + this.CheckTabPage.Controls.Add(this.CheckGrid); + this.CheckTabPage.Controls.Add(this.RunAllButton); + this.CheckTabPage.Controls.Add(this.NewCheckButton); + this.CheckTabPage.Controls.Add(this.RunButton); + this.CheckTabPage.Controls.Add(this.DeleteCheckButton); + this.CheckTabPage.Controls.Add(this.EditCheckButton); + this.CheckTabPage.Location = new System.Drawing.Point(4, 22); + this.CheckTabPage.Name = "CheckTabPage"; + this.CheckTabPage.Padding = new System.Windows.Forms.Padding(3); + this.CheckTabPage.Size = new System.Drawing.Size(693, 256); + this.CheckTabPage.TabIndex = 0; + this.CheckTabPage.Text = "Checks"; + // + // LogTabPage + // + this.LogTabPage.BackColor = System.Drawing.SystemColors.Control; + this.LogTabPage.Controls.Add(this.LogWarningCheckBox); + this.LogTabPage.Controls.Add(this.LogErrorCheckBox); + this.LogTabPage.Controls.Add(this.LogInformationCheckBox); + this.LogTabPage.Controls.Add(this.LogSuccessCheckBox); + this.LogTabPage.Controls.Add(this.LogCheckLabel); + this.LogTabPage.Controls.Add(this.LogCheckComboBox); + this.LogTabPage.Controls.Add(this.LogGrid); + this.LogTabPage.Location = new System.Drawing.Point(4, 22); + this.LogTabPage.Name = "LogTabPage"; + this.LogTabPage.Padding = new System.Windows.Forms.Padding(3); + this.LogTabPage.Size = new System.Drawing.Size(693, 256); + this.LogTabPage.TabIndex = 1; + this.LogTabPage.Text = "Log"; + // + // LogWarningCheckBox + // + this.LogWarningCheckBox.AutoSize = true; + this.LogWarningCheckBox.Checked = true; + this.LogWarningCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; + this.LogWarningCheckBox.Location = new System.Drawing.Point(342, 8); + this.LogWarningCheckBox.Name = "LogWarningCheckBox"; + this.LogWarningCheckBox.Size = new System.Drawing.Size(66, 17); + this.LogWarningCheckBox.TabIndex = 34; + this.LogWarningCheckBox.Text = "Warning"; + this.LogWarningCheckBox.UseVisualStyleBackColor = true; + // + // LogErrorCheckBox + // + this.LogErrorCheckBox.AutoSize = true; + this.LogErrorCheckBox.Checked = true; + this.LogErrorCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; + this.LogErrorCheckBox.Location = new System.Drawing.Point(414, 8); + this.LogErrorCheckBox.Name = "LogErrorCheckBox"; + this.LogErrorCheckBox.Size = new System.Drawing.Size(48, 17); + this.LogErrorCheckBox.TabIndex = 33; + this.LogErrorCheckBox.Text = "Error"; + this.LogErrorCheckBox.UseVisualStyleBackColor = true; + // + // LogInformationCheckBox + // + this.LogInformationCheckBox.AutoSize = true; + this.LogInformationCheckBox.Checked = true; + this.LogInformationCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; + this.LogInformationCheckBox.Location = new System.Drawing.Point(258, 8); + this.LogInformationCheckBox.Name = "LogInformationCheckBox"; + this.LogInformationCheckBox.Size = new System.Drawing.Size(78, 17); + this.LogInformationCheckBox.TabIndex = 32; + this.LogInformationCheckBox.Text = "Information"; + this.LogInformationCheckBox.UseVisualStyleBackColor = true; + // + // LogSuccessCheckBox + // + this.LogSuccessCheckBox.AutoSize = true; + this.LogSuccessCheckBox.Checked = true; + this.LogSuccessCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; + this.LogSuccessCheckBox.Location = new System.Drawing.Point(185, 8); + this.LogSuccessCheckBox.Name = "LogSuccessCheckBox"; + this.LogSuccessCheckBox.Size = new System.Drawing.Size(67, 17); + this.LogSuccessCheckBox.TabIndex = 31; + this.LogSuccessCheckBox.Text = "Success"; + this.LogSuccessCheckBox.UseVisualStyleBackColor = true; + // + // LogCheckLabel + // + this.LogCheckLabel.AutoSize = true; + this.LogCheckLabel.Location = new System.Drawing.Point(6, 9); + this.LogCheckLabel.Name = "LogCheckLabel"; + this.LogCheckLabel.Size = new System.Drawing.Size(38, 13); + this.LogCheckLabel.TabIndex = 30; + this.LogCheckLabel.Text = "Check"; + // + // LogCheckComboBox + // + this.LogCheckComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.LogCheckComboBox.FormattingEnabled = true; + this.LogCheckComboBox.Location = new System.Drawing.Point(50, 6); + this.LogCheckComboBox.Name = "LogCheckComboBox"; + this.LogCheckComboBox.Size = new System.Drawing.Size(121, 21); + this.LogCheckComboBox.TabIndex = 29; + this.LogCheckComboBox.SelectedIndexChanged += new System.EventHandler(this.FilterChanged); + // + // LogGrid + // + this.LogGrid.AllowUserToAddRows = false; + this.LogGrid.AllowUserToDeleteRows = false; + this.LogGrid.AllowUserToOrderColumns = true; + this.LogGrid.AllowUserToResizeRows = false; + this.LogGrid.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.LogGrid.AutoGenerateColumns = false; + this.LogGrid.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill; + this.LogGrid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this.LogGrid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { + this.LogStatusColumn, + this.LogNameColumn, + this.LogMessageColumn, + this.LogStartTimeColumn, + this.LogEndTimeColumn}); + this.LogGrid.DataSource = this.CheckResultBindingSource; + this.LogGrid.Location = new System.Drawing.Point(0, 33); + this.LogGrid.Name = "LogGrid"; + this.LogGrid.ReadOnly = true; + this.LogGrid.RowHeadersVisible = false; + this.LogGrid.Size = new System.Drawing.Size(693, 223); + this.LogGrid.TabIndex = 28; + this.LogGrid.CellFormatting += new System.Windows.Forms.DataGridViewCellFormattingEventHandler(this.LogGrid_CellFormatting); + // + // dataGridViewImageColumn1 + // + this.dataGridViewImageColumn1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; + this.dataGridViewImageColumn1.DataPropertyName = "Status"; + this.dataGridViewImageColumn1.HeaderText = ""; + this.dataGridViewImageColumn1.Name = "dataGridViewImageColumn1"; + this.dataGridViewImageColumn1.ReadOnly = true; + this.dataGridViewImageColumn1.ToolTipText = "Last Run Status"; + this.dataGridViewImageColumn1.Width = 25; + // + // dataGridViewTextBoxColumn1 + // + this.dataGridViewTextBoxColumn1.DataPropertyName = "Schedule"; + this.dataGridViewTextBoxColumn1.HeaderText = "Schedule"; + this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1"; + this.dataGridViewTextBoxColumn1.ReadOnly = true; + this.dataGridViewTextBoxColumn1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; + this.dataGridViewTextBoxColumn1.Width = 192; + // + // ServerInfoPanel + // + this.ServerInfoPanel.Anchor = System.Windows.Forms.AnchorStyles.Top; + this.ServerInfoPanel.Controls.Add(this.NameLabel); + this.ServerInfoPanel.Controls.Add(this.NameTextBox); + this.ServerInfoPanel.Controls.Add(this.KeyBrowseButton); + this.ServerInfoPanel.Controls.Add(this.PasswordTextBox); + this.ServerInfoPanel.Controls.Add(this.LoginLabel); + this.ServerInfoPanel.Controls.Add(this.PortTextBox); + this.ServerInfoPanel.Controls.Add(this.KeyTextBox); + this.ServerInfoPanel.Controls.Add(this.HostTextBox); + this.ServerInfoPanel.Controls.Add(this.UsernameTextBox); + this.ServerInfoPanel.Controls.Add(this.HostLabel); + this.ServerInfoPanel.Controls.Add(this.UsernameLabel); + this.ServerInfoPanel.Controls.Add(this.PortLabel); + this.ServerInfoPanel.Controls.Add(this.LoginComboBox); + this.ServerInfoPanel.Location = new System.Drawing.Point(148, 54); + this.ServerInfoPanel.Name = "ServerInfoPanel"; + this.ServerInfoPanel.Size = new System.Drawing.Size(428, 113); + this.ServerInfoPanel.TabIndex = 27; + // + // dataGridViewImageColumn2 + // + this.dataGridViewImageColumn2.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; + this.dataGridViewImageColumn2.DataPropertyName = "Status"; + this.dataGridViewImageColumn2.HeaderText = ""; + this.dataGridViewImageColumn2.ImageLayout = System.Windows.Forms.DataGridViewImageCellLayout.Zoom; + this.dataGridViewImageColumn2.Name = "dataGridViewImageColumn2"; + this.dataGridViewImageColumn2.ReadOnly = true; + this.dataGridViewImageColumn2.ToolTipText = "Last Run Status"; + this.dataGridViewImageColumn2.Width = 25; + // + // dataGridViewTextBoxColumn2 + // + this.dataGridViewTextBoxColumn2.DataPropertyName = "Schedule"; + this.dataGridViewTextBoxColumn2.HeaderText = "Schedule"; + this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2"; + this.dataGridViewTextBoxColumn2.ReadOnly = true; + this.dataGridViewTextBoxColumn2.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; + this.dataGridViewTextBoxColumn2.Width = 267; + // + // LastRunTimeColumn + // + this.LastRunTimeColumn.DataPropertyName = "LastRunTime"; + this.LastRunTimeColumn.HeaderText = "LastRunTime"; + this.LastRunTimeColumn.Name = "LastRunTimeColumn"; + this.LastRunTimeColumn.ReadOnly = true; + this.LastRunTimeColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; + // + // EnabledColumn + // + this.EnabledColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; + this.EnabledColumn.DataPropertyName = "Enabled"; + this.EnabledColumn.HeaderText = "Enabled"; + this.EnabledColumn.Name = "EnabledColumn"; + this.EnabledColumn.ReadOnly = true; + this.EnabledColumn.Width = 50; + // + // dataGridViewImageColumn3 + // + this.dataGridViewImageColumn3.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; + this.dataGridViewImageColumn3.DataPropertyName = "Status"; + this.dataGridViewImageColumn3.HeaderText = ""; + this.dataGridViewImageColumn3.ImageLayout = System.Windows.Forms.DataGridViewImageCellLayout.Zoom; + this.dataGridViewImageColumn3.Name = "dataGridViewImageColumn3"; + this.dataGridViewImageColumn3.ReadOnly = true; + this.dataGridViewImageColumn3.ToolTipText = "Last Run Status"; + this.dataGridViewImageColumn3.Width = 25; + // + // dataGridViewTextBoxColumn3 + // + this.dataGridViewTextBoxColumn3.DataPropertyName = "Schedule"; + this.dataGridViewTextBoxColumn3.HeaderText = "Schedule"; + this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3"; + this.dataGridViewTextBoxColumn3.ReadOnly = true; + this.dataGridViewTextBoxColumn3.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; + this.dataGridViewTextBoxColumn3.Width = 267; + // + // StatusColumn + // + this.StatusColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; + this.StatusColumn.DataPropertyName = "Status"; + this.StatusColumn.HeaderText = ""; + this.StatusColumn.ImageLayout = System.Windows.Forms.DataGridViewImageCellLayout.Zoom; + this.StatusColumn.Name = "StatusColumn"; + this.StatusColumn.ReadOnly = true; + this.StatusColumn.ToolTipText = "Last Run Status"; + this.StatusColumn.Width = 25; + // + // NameColumn + // + this.NameColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells; + this.NameColumn.DataPropertyName = "Name"; + this.NameColumn.HeaderText = "Name"; + this.NameColumn.Name = "NameColumn"; + this.NameColumn.ReadOnly = true; + this.NameColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; + this.NameColumn.Width = 41; + // + // ScheduleColumn + // + this.ScheduleColumn.DataPropertyName = "Schedule"; + this.ScheduleColumn.HeaderText = "Schedule"; + this.ScheduleColumn.Name = "ScheduleColumn"; + this.ScheduleColumn.ReadOnly = true; + this.ScheduleColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; + // + // CheckBindingSource + // + this.CheckBindingSource.DataSource = typeof(ServerMonitorApp.Check); + this.CheckBindingSource.ListChanged += new System.ComponentModel.ListChangedEventHandler(this.CheckBindingSource_ListChanged); + // + // LogStatusColumn + // + this.LogStatusColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; + this.LogStatusColumn.DataPropertyName = "CheckStatus"; + this.LogStatusColumn.HeaderText = ""; + this.LogStatusColumn.ImageLayout = System.Windows.Forms.DataGridViewImageCellLayout.Zoom; + this.LogStatusColumn.Name = "LogStatusColumn"; + this.LogStatusColumn.ReadOnly = true; + this.LogStatusColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.LogStatusColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; + this.LogStatusColumn.ToolTipText = "Status"; + this.LogStatusColumn.Width = 25; + // + // LogNameColumn + // + this.LogNameColumn.DataPropertyName = "Check"; + this.LogNameColumn.HeaderText = "Check"; + this.LogNameColumn.Name = "LogNameColumn"; + this.LogNameColumn.ReadOnly = true; + // + // LogMessageColumn + // + this.LogMessageColumn.DataPropertyName = "Message"; + this.LogMessageColumn.HeaderText = "Message"; + this.LogMessageColumn.Name = "LogMessageColumn"; + this.LogMessageColumn.ReadOnly = true; + // + // LogStartTimeColumn + // + this.LogStartTimeColumn.DataPropertyName = "StartTime"; + dataGridViewCellStyle1.Format = "G"; + dataGridViewCellStyle1.NullValue = null; + this.LogStartTimeColumn.DefaultCellStyle = dataGridViewCellStyle1; + this.LogStartTimeColumn.HeaderText = "StartTime"; + this.LogStartTimeColumn.Name = "LogStartTimeColumn"; + this.LogStartTimeColumn.ReadOnly = true; + // + // LogEndTimeColumn + // + this.LogEndTimeColumn.DataPropertyName = "EndTime"; + dataGridViewCellStyle2.Format = "G"; + dataGridViewCellStyle2.NullValue = null; + this.LogEndTimeColumn.DefaultCellStyle = dataGridViewCellStyle2; + this.LogEndTimeColumn.HeaderText = "EndTime"; + this.LogEndTimeColumn.Name = "LogEndTimeColumn"; + this.LogEndTimeColumn.ReadOnly = true; + // + // CheckResultBindingSource + // + this.CheckResultBindingSource.DataSource = typeof(ServerMonitorApp.CheckResult); + // + // ServerForm + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(728, 467); + this.Controls.Add(this.ServerInfoPanel); + this.Controls.Add(this.CheckTabControl); + this.Controls.Add(this.TitleLabel); + this.MinimumSize = new System.Drawing.Size(515, 38); + this.Name = "ServerForm"; + this.Text = "New Server"; + this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.ServerForm_FormClosing); + this.Load += new System.EventHandler(this.ServerForm_Load); + ((System.ComponentModel.ISupportInitialize)(this.CheckGrid)).EndInit(); + this.CheckTabControl.ResumeLayout(false); + this.CheckTabPage.ResumeLayout(false); + this.LogTabPage.ResumeLayout(false); + this.LogTabPage.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.LogGrid)).EndInit(); + this.ServerInfoPanel.ResumeLayout(false); + this.ServerInfoPanel.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.CheckBindingSource)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.CheckResultBindingSource)).EndInit(); + this.ResumeLayout(false); + + } + + #endregion + + private System.Windows.Forms.Label TitleLabel; + private System.Windows.Forms.TextBox NameTextBox; + private System.Windows.Forms.Label NameLabel; + private System.Windows.Forms.TextBox HostTextBox; + private System.Windows.Forms.TextBox PortTextBox; + private System.Windows.Forms.Label HostLabel; + private System.Windows.Forms.Label PortLabel; + private System.Windows.Forms.ComboBox LoginComboBox; + private System.Windows.Forms.Label UsernameLabel; + private System.Windows.Forms.TextBox UsernameTextBox; + private System.Windows.Forms.TextBox KeyTextBox; + private System.Windows.Forms.Label LoginLabel; + private System.Windows.Forms.Button KeyBrowseButton; + private System.Windows.Forms.TextBox PasswordTextBox; + private System.Windows.Forms.DataGridView CheckGrid; + private System.Windows.Forms.BindingSource CheckBindingSource; + private System.Windows.Forms.Button EditCheckButton; + private System.Windows.Forms.Button DeleteCheckButton; + private System.Windows.Forms.Button NewCheckButton; + private System.Windows.Forms.Label CheckActionsDividerLabel; + private System.Windows.Forms.Button RunAllButton; + private System.Windows.Forms.Button RunButton; + private System.Windows.Forms.TabControl CheckTabControl; + private System.Windows.Forms.TabPage CheckTabPage; + private System.Windows.Forms.TabPage LogTabPage; + private System.Windows.Forms.DataGridViewImageColumn dataGridViewImageColumn1; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1; + private System.Windows.Forms.Panel ServerInfoPanel; + private System.Windows.Forms.BindingSource CheckResultBindingSource; + private System.Windows.Forms.DataGridView LogGrid; + private System.Windows.Forms.Label LogCheckLabel; + private System.Windows.Forms.ComboBox LogCheckComboBox; + private System.Windows.Forms.CheckBox LogWarningCheckBox; + private System.Windows.Forms.CheckBox LogErrorCheckBox; + private System.Windows.Forms.CheckBox LogInformationCheckBox; + private System.Windows.Forms.CheckBox LogSuccessCheckBox; + private System.Windows.Forms.DataGridViewImageColumn dataGridViewImageColumn2; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2; + private System.Windows.Forms.DataGridViewImageColumn LogStatusColumn; + private System.Windows.Forms.DataGridViewTextBoxColumn LogNameColumn; + private System.Windows.Forms.DataGridViewTextBoxColumn LogMessageColumn; + private System.Windows.Forms.DataGridViewTextBoxColumn LogStartTimeColumn; + private System.Windows.Forms.DataGridViewTextBoxColumn LogEndTimeColumn; + private System.Windows.Forms.DataGridViewImageColumn StatusColumn; + private System.Windows.Forms.DataGridViewTextBoxColumn NameColumn; + private System.Windows.Forms.DataGridViewTextBoxColumn ScheduleColumn; + private System.Windows.Forms.DataGridViewTextBoxColumn LastRunTimeColumn; + private System.Windows.Forms.DataGridViewCheckBoxColumn EnabledColumn; + private System.Windows.Forms.DataGridViewImageColumn dataGridViewImageColumn3; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3; + } +} \ No newline at end of file