257 lines
12 KiB
C#
257 lines
12 KiB
C#
namespace ServiceDashBored
|
|
{
|
|
partial class Main
|
|
{
|
|
/// <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 (notifyIcon != null)
|
|
{
|
|
notifyIcon.Visible = false;
|
|
notifyIcon.Dispose();
|
|
notifyIcon = null;
|
|
}
|
|
|
|
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(Main));
|
|
this.notifyIcon = new System.Windows.Forms.NotifyIcon(this.components);
|
|
this.trayContextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components);
|
|
this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.dataGridView = new System.Windows.Forms.DataGridView();
|
|
this.statusIconDataGridViewImageColumn = new System.Windows.Forms.DataGridViewImageColumn();
|
|
this.ServiceName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.TimeSinceLastUpdate = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.endpointBindingSource = new System.Windows.Forms.BindingSource(this.components);
|
|
this.cellTextBox = new System.Windows.Forms.TextBox();
|
|
this.statusTextBox = new System.Windows.Forms.RichTextBox();
|
|
this.splitContainer = new System.Windows.Forms.SplitContainer();
|
|
this.dataGridContextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components);
|
|
this.updateNowToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.trayContextMenuStrip.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.endpointBindingSource)).BeginInit();
|
|
this.splitContainer.Panel1.SuspendLayout();
|
|
this.splitContainer.Panel2.SuspendLayout();
|
|
this.splitContainer.SuspendLayout();
|
|
this.dataGridContextMenuStrip.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// notifyIcon
|
|
//
|
|
this.notifyIcon.ContextMenuStrip = this.trayContextMenuStrip;
|
|
this.notifyIcon.Text = "Service DashBored";
|
|
this.notifyIcon.Visible = true;
|
|
this.notifyIcon.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.notifyIcon_MouseDoubleClick);
|
|
//
|
|
// trayContextMenuStrip
|
|
//
|
|
this.trayContextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.exitToolStripMenuItem});
|
|
this.trayContextMenuStrip.Name = "trayContextMenuStrip";
|
|
this.trayContextMenuStrip.Size = new System.Drawing.Size(104, 26);
|
|
//
|
|
// exitToolStripMenuItem
|
|
//
|
|
this.exitToolStripMenuItem.Name = "exitToolStripMenuItem";
|
|
this.exitToolStripMenuItem.Size = new System.Drawing.Size(103, 22);
|
|
this.exitToolStripMenuItem.Text = "Exit";
|
|
this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click);
|
|
//
|
|
// dataGridView
|
|
//
|
|
this.dataGridView.AllowUserToAddRows = false;
|
|
this.dataGridView.AllowUserToDeleteRows = false;
|
|
this.dataGridView.AllowUserToResizeColumns = false;
|
|
this.dataGridView.AllowUserToResizeRows = false;
|
|
this.dataGridView.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.dataGridView.AutoGenerateColumns = false;
|
|
this.dataGridView.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
|
|
this.dataGridView.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.DisplayedCells;
|
|
this.dataGridView.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
|
this.dataGridView.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.None;
|
|
this.dataGridView.ClipboardCopyMode = System.Windows.Forms.DataGridViewClipboardCopyMode.EnableWithoutHeaderText;
|
|
this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
|
|
this.dataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
this.statusIconDataGridViewImageColumn,
|
|
this.ServiceName,
|
|
this.TimeSinceLastUpdate});
|
|
this.dataGridView.DataSource = this.endpointBindingSource;
|
|
this.dataGridView.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically;
|
|
this.dataGridView.EnableHeadersVisualStyles = false;
|
|
this.dataGridView.Location = new System.Drawing.Point(12, 12);
|
|
this.dataGridView.MultiSelect = false;
|
|
this.dataGridView.Name = "dataGridView";
|
|
this.dataGridView.ReadOnly = true;
|
|
this.dataGridView.RowHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
|
|
this.dataGridView.RowHeadersVisible = false;
|
|
this.dataGridView.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
|
|
this.dataGridView.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
|
|
this.dataGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
|
this.dataGridView.Size = new System.Drawing.Size(368, 126);
|
|
this.dataGridView.TabIndex = 1;
|
|
this.dataGridView.RowEnter += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView_RowEnter);
|
|
this.dataGridView.MouseUp += new System.Windows.Forms.MouseEventHandler(this.dataGridView_MouseUp);
|
|
this.dataGridView.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.dataGridView_DataError);
|
|
//
|
|
// statusIconDataGridViewImageColumn
|
|
//
|
|
this.statusIconDataGridViewImageColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
|
|
this.statusIconDataGridViewImageColumn.DataPropertyName = "StatusIcon";
|
|
this.statusIconDataGridViewImageColumn.HeaderText = "";
|
|
this.statusIconDataGridViewImageColumn.Name = "statusIconDataGridViewImageColumn";
|
|
this.statusIconDataGridViewImageColumn.ReadOnly = true;
|
|
this.statusIconDataGridViewImageColumn.Resizable = System.Windows.Forms.DataGridViewTriState.False;
|
|
this.statusIconDataGridViewImageColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
|
this.statusIconDataGridViewImageColumn.Width = 30;
|
|
//
|
|
// ServiceName
|
|
//
|
|
this.ServiceName.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
this.ServiceName.DataPropertyName = "ServiceName";
|
|
this.ServiceName.HeaderText = "Service";
|
|
this.ServiceName.MinimumWidth = 100;
|
|
this.ServiceName.Name = "ServiceName";
|
|
this.ServiceName.ReadOnly = true;
|
|
//
|
|
// TimeSinceLastUpdate
|
|
//
|
|
this.TimeSinceLastUpdate.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
|
|
this.TimeSinceLastUpdate.DataPropertyName = "TimeSinceLastUpdate";
|
|
this.TimeSinceLastUpdate.HeaderText = "Last Update";
|
|
this.TimeSinceLastUpdate.Name = "TimeSinceLastUpdate";
|
|
this.TimeSinceLastUpdate.ReadOnly = true;
|
|
this.TimeSinceLastUpdate.Resizable = System.Windows.Forms.DataGridViewTriState.False;
|
|
this.TimeSinceLastUpdate.Width = 90;
|
|
//
|
|
// endpointBindingSource
|
|
//
|
|
this.endpointBindingSource.DataSource = typeof(ServiceDashBored.EndpointStatus);
|
|
//
|
|
// cellTextBox
|
|
//
|
|
this.cellTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.cellTextBox.Location = new System.Drawing.Point(12, 144);
|
|
this.cellTextBox.Name = "cellTextBox";
|
|
this.cellTextBox.ReadOnly = true;
|
|
this.cellTextBox.Size = new System.Drawing.Size(368, 20);
|
|
this.cellTextBox.TabIndex = 2;
|
|
//
|
|
// statusTextBox
|
|
//
|
|
this.statusTextBox.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.statusTextBox.BackColor = System.Drawing.SystemColors.Window;
|
|
this.statusTextBox.Location = new System.Drawing.Point(12, 3);
|
|
this.statusTextBox.Name = "statusTextBox";
|
|
this.statusTextBox.ReadOnly = true;
|
|
this.statusTextBox.Size = new System.Drawing.Size(368, 85);
|
|
this.statusTextBox.TabIndex = 3;
|
|
this.statusTextBox.Text = "";
|
|
//
|
|
// splitContainer
|
|
//
|
|
this.splitContainer.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.splitContainer.Location = new System.Drawing.Point(0, 0);
|
|
this.splitContainer.Name = "splitContainer";
|
|
this.splitContainer.Orientation = System.Windows.Forms.Orientation.Horizontal;
|
|
//
|
|
// splitContainer.Panel1
|
|
//
|
|
this.splitContainer.Panel1.Controls.Add(this.cellTextBox);
|
|
this.splitContainer.Panel1.Controls.Add(this.dataGridView);
|
|
this.splitContainer.Panel1MinSize = 135;
|
|
//
|
|
// splitContainer.Panel2
|
|
//
|
|
this.splitContainer.Panel2.Controls.Add(this.statusTextBox);
|
|
this.splitContainer.Panel2MinSize = 100;
|
|
this.splitContainer.Size = new System.Drawing.Size(392, 270);
|
|
this.splitContainer.SplitterDistance = 166;
|
|
this.splitContainer.SplitterWidth = 3;
|
|
this.splitContainer.TabIndex = 4;
|
|
//
|
|
// dataGridContextMenuStrip
|
|
//
|
|
this.dataGridContextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.updateNowToolStripMenuItem});
|
|
this.dataGridContextMenuStrip.Name = "dataGridContextMenuStrip";
|
|
this.dataGridContextMenuStrip.Size = new System.Drawing.Size(145, 26);
|
|
//
|
|
// updateNowToolStripMenuItem
|
|
//
|
|
this.updateNowToolStripMenuItem.Name = "updateNowToolStripMenuItem";
|
|
this.updateNowToolStripMenuItem.Size = new System.Drawing.Size(144, 22);
|
|
this.updateNowToolStripMenuItem.Text = "Update Now";
|
|
this.updateNowToolStripMenuItem.Click += new System.EventHandler(this.updateNowToolStripMenuItem_Click);
|
|
//
|
|
// Main
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(392, 270);
|
|
this.Controls.Add(this.splitContainer);
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|
this.MaximizeBox = false;
|
|
this.MinimumSize = new System.Drawing.Size(400, 300);
|
|
this.Name = "Main";
|
|
this.Text = "Service DashBored";
|
|
this.Load += new System.EventHandler(this.main_Load);
|
|
this.Resize += new System.EventHandler(this.main_Resize);
|
|
this.trayContextMenuStrip.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.endpointBindingSource)).EndInit();
|
|
this.splitContainer.Panel1.ResumeLayout(false);
|
|
this.splitContainer.Panel1.PerformLayout();
|
|
this.splitContainer.Panel2.ResumeLayout(false);
|
|
this.splitContainer.ResumeLayout(false);
|
|
this.dataGridContextMenuStrip.ResumeLayout(false);
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.NotifyIcon notifyIcon;
|
|
private System.Windows.Forms.ContextMenuStrip trayContextMenuStrip;
|
|
private System.Windows.Forms.ToolStripMenuItem exitToolStripMenuItem;
|
|
private System.Windows.Forms.DataGridView dataGridView;
|
|
private System.Windows.Forms.BindingSource endpointBindingSource;
|
|
private System.Windows.Forms.TextBox cellTextBox;
|
|
private System.Windows.Forms.DataGridViewImageColumn statusIconDataGridViewImageColumn;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn TimeSinceLastUpdate;
|
|
private System.Windows.Forms.RichTextBox statusTextBox;
|
|
private System.Windows.Forms.SplitContainer splitContainer;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn ServiceName;
|
|
private System.Windows.Forms.ContextMenuStrip dataGridContextMenuStrip;
|
|
private System.Windows.Forms.ToolStripMenuItem updateNowToolStripMenuItem;
|
|
}
|
|
}
|
|
|