Mercurial > servermonitor
diff ServerMonitor/Forms/ServerForm.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 | 7645122aa7a9 |
line wrap: on
line diff
--- a/ServerMonitor/Forms/ServerForm.Designer.cs Fri Mar 01 21:39:22 2019 -0500 +++ b/ServerMonitor/Forms/ServerForm.Designer.cs Sat Mar 09 20:14:03 2019 -0500 @@ -47,12 +47,8 @@ this.KeyBrowseButton = new System.Windows.Forms.Button(); this.PasswordTextBox = new System.Windows.Forms.TextBox(); this.CheckGrid = new System.Windows.Forms.DataGridView(); - this.StatusColumn = new System.Windows.Forms.DataGridViewImageColumn(); - this.NameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.ScheduleColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.LastRunTimeColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.EnabledColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn(); - this.CheckBindingSource = new System.Windows.Forms.BindingSource(this.components); this.CheckActionsDividerLabel = new System.Windows.Forms.Label(); this.RunAllButton = new System.Windows.Forms.Button(); this.RunButton = new System.Windows.Forms.Button(); @@ -69,27 +65,32 @@ 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.EnabledCheckBox = new System.Windows.Forms.CheckBox(); + this.dataGridViewImageColumn2 = new System.Windows.Forms.DataGridViewImageColumn(); + this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + 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); - 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.dataGridViewImageColumn3 = new System.Windows.Forms.DataGridViewImageColumn(); - this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn(); ((System.ComponentModel.ISupportInitialize)(this.CheckGrid)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.CheckBindingSource)).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.ServerInfoPanel.SuspendLayout(); this.SuspendLayout(); // // TitleLabel @@ -108,7 +109,7 @@ // this.NameTextBox.Location = new System.Drawing.Point(61, 4); this.NameTextBox.Name = "NameTextBox"; - this.NameTextBox.Size = new System.Drawing.Size(354, 20); + this.NameTextBox.Size = new System.Drawing.Size(271, 20); this.NameTextBox.TabIndex = 3; this.NameTextBox.TextChanged += new System.EventHandler(this.NameTextBox_TextChanged); // @@ -119,7 +120,7 @@ this.NameLabel.Name = "NameLabel"; this.NameLabel.Size = new System.Drawing.Size(35, 13); this.NameLabel.TabIndex = 2; - this.NameLabel.Text = "Name"; + this.NameLabel.Text = "Na&me"; this.NameLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // HostTextBox @@ -134,7 +135,7 @@ 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; + this.PortTextBox.TabIndex = 8; // // HostLabel // @@ -142,8 +143,8 @@ 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.TabIndex = 5; + this.HostLabel.Text = "&Host"; this.HostLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // PortLabel @@ -152,8 +153,8 @@ 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.TabIndex = 7; + this.PortLabel.Text = "SSH &port"; this.PortLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // LoginComboBox @@ -166,7 +167,7 @@ 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.TabIndex = 12; this.LoginComboBox.SelectedIndexChanged += new System.EventHandler(this.LoginComboBox_SelectedIndexChanged); // // UsernameLabel @@ -175,8 +176,8 @@ 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.TabIndex = 9; + this.UsernameLabel.Text = "SSH &username"; this.UsernameLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // UsernameTextBox @@ -184,7 +185,7 @@ 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 = 8; + this.UsernameTextBox.TabIndex = 10; // // KeyTextBox // @@ -200,8 +201,8 @@ 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.TabIndex = 11; + this.LoginLabel.Text = "SSH &login"; this.LoginLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // KeyBrowseButton @@ -210,7 +211,7 @@ this.KeyBrowseButton.Name = "KeyBrowseButton"; this.KeyBrowseButton.Size = new System.Drawing.Size(60, 23); this.KeyBrowseButton.TabIndex = 15; - this.KeyBrowseButton.Text = "Browse..."; + this.KeyBrowseButton.Text = "Br&owse..."; this.KeyBrowseButton.UseVisualStyleBackColor = true; this.KeyBrowseButton.Click += new System.EventHandler(this.KeyBrowseButton_Click); // @@ -249,7 +250,7 @@ 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.TabIndex = 22; 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); @@ -259,35 +260,6 @@ this.CheckGrid.SelectionChanged += new System.EventHandler(this.CheckGrid_SelectionChanged); this.CheckGrid.KeyDown += new System.Windows.Forms.KeyEventHandler(this.CheckGrid_KeyDown); // - // 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; - // // LastRunTimeColumn // this.LastRunTimeColumn.DataPropertyName = "LastRunTime"; @@ -305,11 +277,6 @@ this.EnabledColumn.ReadOnly = true; this.EnabledColumn.Width = 50; // - // CheckBindingSource - // - this.CheckBindingSource.DataSource = typeof(ServerMonitorApp.Check); - this.CheckBindingSource.ListChanged += new System.ComponentModel.ListChangedEventHandler(this.CheckBindingSource_ListChanged); - // // CheckActionsDividerLabel // this.CheckActionsDividerLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); @@ -328,8 +295,8 @@ 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.TabIndex = 24; + this.RunAllButton.Text = "Run &All"; this.RunAllButton.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.RunAllButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; this.RunAllButton.UseVisualStyleBackColor = true; @@ -344,8 +311,8 @@ 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.TabIndex = 25; + this.RunButton.Text = "&Run"; this.RunButton.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.RunButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; this.RunButton.UseVisualStyleBackColor = true; @@ -361,8 +328,8 @@ 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.TabIndex = 26; + this.EditCheckButton.Text = "&Edit"; this.EditCheckButton.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.EditCheckButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; this.EditCheckButton.UseVisualStyleBackColor = true; @@ -378,8 +345,8 @@ 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.TabIndex = 27; + this.DeleteCheckButton.Text = "&Delete"; this.DeleteCheckButton.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.DeleteCheckButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; this.DeleteCheckButton.UseVisualStyleBackColor = true; @@ -394,8 +361,8 @@ 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.TabIndex = 23; + this.NewCheckButton.Text = "&New"; this.NewCheckButton.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.NewCheckButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; this.NewCheckButton.UseVisualStyleBackColor = true; @@ -469,7 +436,7 @@ 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.TabIndex = 35; this.LogErrorCheckBox.Text = "Error"; this.LogErrorCheckBox.UseVisualStyleBackColor = true; // @@ -540,9 +507,137 @@ this.LogGrid.ReadOnly = true; this.LogGrid.RowHeadersVisible = false; this.LogGrid.Size = new System.Drawing.Size(693, 223); - this.LogGrid.TabIndex = 28; + this.LogGrid.TabIndex = 40; 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.EnabledCheckBox); + 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; + // + // EnabledCheckBox + // + this.EnabledCheckBox.AutoSize = true; + this.EnabledCheckBox.Checked = true; + this.EnabledCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; + this.EnabledCheckBox.Location = new System.Drawing.Point(350, 6); + this.EnabledCheckBox.Name = "EnabledCheckBox"; + this.EnabledCheckBox.Size = new System.Drawing.Size(65, 17); + this.EnabledCheckBox.TabIndex = 4; + this.EnabledCheckBox.Text = "Ena&bled"; + this.EnabledCheckBox.UseVisualStyleBackColor = true; + this.EnabledCheckBox.Click += new System.EventHandler(this.EnabledCheckBox_Click); + // + // 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; + // + // 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; @@ -594,86 +689,6 @@ // this.CheckResultBindingSource.DataSource = typeof(ServerMonitorApp.CheckResult); // - // 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; - // - // 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; - // // ServerForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); @@ -682,22 +697,22 @@ this.Controls.Add(this.ServerInfoPanel); this.Controls.Add(this.CheckTabControl); this.Controls.Add(this.TitleLabel); - this.MinimumSize = new System.Drawing.Size(515, 38); + this.MinimumSize = new System.Drawing.Size(515, 420); this.Name = "ServerForm"; this.Text = "New Server"; this.Activated += new System.EventHandler(this.ServerForm_Activated); this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.ServerForm_FormClosing); this.Load += new System.EventHandler(this.ServerForm_Load); ((System.ComponentModel.ISupportInitialize)(this.CheckGrid)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.CheckBindingSource)).EndInit(); this.CheckTabControl.ResumeLayout(false); this.CheckTabPage.ResumeLayout(false); this.LogTabPage.ResumeLayout(false); this.LogTabPage.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.LogGrid)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.CheckResultBindingSource)).EndInit(); this.ServerInfoPanel.ResumeLayout(false); this.ServerInfoPanel.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.CheckBindingSource)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.CheckResultBindingSource)).EndInit(); this.ResumeLayout(false); } @@ -754,5 +769,6 @@ private System.Windows.Forms.DataGridViewCheckBoxColumn EnabledColumn; private System.Windows.Forms.DataGridViewImageColumn dataGridViewImageColumn3; private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3; + private System.Windows.Forms.CheckBox EnabledCheckBox; } } \ No newline at end of file