Mercurial > servermonitor
diff ServerMonitor/Forms/ServerForm.Designer.cs @ 4:3142e52cbe69
Lots more progress
author | Brad Greco <brad@bgreco.net> |
---|---|
date | Sun, 10 Feb 2019 20:51:26 -0500 |
parents | 3e1a2131f897 |
children | b6fe203af9d5 |
line wrap: on
line diff
--- a/ServerMonitor/Forms/ServerForm.Designer.cs Fri Jan 11 22:34:18 2019 -0500 +++ b/ServerMonitor/Forms/ServerForm.Designer.cs Sun Feb 10 20:51:26 2019 -0500 @@ -47,6 +47,12 @@ 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(); @@ -63,33 +69,27 @@ 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); + 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(); + ((System.ComponentModel.ISupportInitialize)(this.CheckResultBindingSource)).BeginInit(); this.ServerInfoPanel.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.CheckBindingSource)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.CheckResultBindingSource)).BeginInit(); this.SuspendLayout(); // // TitleLabel @@ -188,7 +188,7 @@ // // KeyTextBox // - this.KeyTextBox.Location = new System.Drawing.Point(143, 82); + this.KeyTextBox.Location = new System.Drawing.Point(147, 82); this.KeyTextBox.Name = "KeyTextBox"; this.KeyTextBox.Size = new System.Drawing.Size(202, 20); this.KeyTextBox.TabIndex = 13; @@ -211,6 +211,7 @@ this.KeyBrowseButton.TabIndex = 15; this.KeyBrowseButton.Text = "Browse..."; this.KeyBrowseButton.UseVisualStyleBackColor = true; + this.KeyBrowseButton.Click += new System.EventHandler(this.KeyBrowseButton_Click); // // PasswordTextBox // @@ -257,6 +258,57 @@ 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"; + 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; + // + // 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))); @@ -490,6 +542,57 @@ this.LogGrid.TabIndex = 28; this.LogGrid.CellFormatting += new System.Windows.Forms.DataGridViewCellFormattingEventHandler(this.LogGrid_CellFormatting); // + // 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); + // // dataGridViewImageColumn1 // this.dataGridViewImageColumn1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; @@ -550,23 +653,6 @@ 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; @@ -587,91 +673,6 @@ 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); @@ -683,18 +684,19 @@ this.MinimumSize = new System.Drawing.Size(515, 38); 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); }