383 lines
20 KiB
C#
383 lines
20 KiB
C#
namespace MTC_ADB
|
|
{
|
|
partial class MainForm
|
|
{
|
|
/// <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(MainForm));
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
|
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
|
this.label5 = new System.Windows.Forms.Label();
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
this.lblNumData = new System.Windows.Forms.Label();
|
|
this.btnOpenDump = new System.Windows.Forms.Button();
|
|
this.lblLastData = new System.Windows.Forms.Label();
|
|
this.statusStrip1 = new System.Windows.Forms.StatusStrip();
|
|
this.lblApp = new System.Windows.Forms.ToolStripStatusLabel();
|
|
this.lblVers = new System.Windows.Forms.ToolStripStatusLabel();
|
|
this.MainProgrBar = new System.Windows.Forms.ToolStripProgressBar();
|
|
this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel();
|
|
this.groupBox2 = new System.Windows.Forms.GroupBox();
|
|
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
this.label4 = new System.Windows.Forms.Label();
|
|
this.lblServer = new System.Windows.Forms.Label();
|
|
this.btnStart = new System.Windows.Forms.Button();
|
|
this.btnConnect = new System.Windows.Forms.Button();
|
|
this.lblStatus = new System.Windows.Forms.Label();
|
|
this.notifyIcon1 = new System.Windows.Forms.NotifyIcon(this.components);
|
|
this.trayMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
|
|
this.gather = new System.Windows.Forms.Timer(this.components);
|
|
this.groupBox1.SuspendLayout();
|
|
this.tableLayoutPanel1.SuspendLayout();
|
|
this.statusStrip1.SuspendLayout();
|
|
this.groupBox2.SuspendLayout();
|
|
this.tableLayoutPanel2.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoEllipsis = true;
|
|
this.label1.Dock = System.Windows.Forms.DockStyle.Top;
|
|
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.label1.Location = new System.Drawing.Point(0, 0);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(478, 24);
|
|
this.label1.TabIndex = 0;
|
|
this.label1.Text = "MTConnect Adapter SavEnergy";
|
|
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
//
|
|
// groupBox1
|
|
//
|
|
this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.groupBox1.AutoSize = true;
|
|
this.groupBox1.Controls.Add(this.tableLayoutPanel1);
|
|
this.groupBox1.Location = new System.Drawing.Point(4, 119);
|
|
this.groupBox1.Name = "groupBox1";
|
|
this.groupBox1.Size = new System.Drawing.Size(468, 93);
|
|
this.groupBox1.TabIndex = 1;
|
|
this.groupBox1.TabStop = false;
|
|
this.groupBox1.Text = "Data Available";
|
|
//
|
|
// tableLayoutPanel1
|
|
//
|
|
this.tableLayoutPanel1.ColumnCount = 3;
|
|
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 47.45763F));
|
|
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 52.54237F));
|
|
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 82F));
|
|
this.tableLayoutPanel1.Controls.Add(this.label5, 1, 0);
|
|
this.tableLayoutPanel1.Controls.Add(this.label2, 0, 0);
|
|
this.tableLayoutPanel1.Controls.Add(this.lblNumData, 0, 1);
|
|
this.tableLayoutPanel1.Controls.Add(this.btnOpenDump, 2, 0);
|
|
this.tableLayoutPanel1.Controls.Add(this.lblLastData, 1, 1);
|
|
this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.tableLayoutPanel1.Location = new System.Drawing.Point(3, 16);
|
|
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
|
|
this.tableLayoutPanel1.RowCount = 2;
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
|
|
this.tableLayoutPanel1.Size = new System.Drawing.Size(462, 74);
|
|
this.tableLayoutPanel1.TabIndex = 2;
|
|
//
|
|
// label5
|
|
//
|
|
this.label5.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.label5.Location = new System.Drawing.Point(183, 0);
|
|
this.label5.Name = "label5";
|
|
this.label5.Size = new System.Drawing.Size(193, 37);
|
|
this.label5.TabIndex = 1;
|
|
this.label5.Text = "Last Read";
|
|
this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
//
|
|
// label2
|
|
//
|
|
this.label2.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.label2.Location = new System.Drawing.Point(3, 0);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(174, 37);
|
|
this.label2.TabIndex = 0;
|
|
this.label2.Text = "Data Available";
|
|
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
//
|
|
// lblNumData
|
|
//
|
|
this.lblNumData.AutoSize = true;
|
|
this.lblNumData.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.lblNumData.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.lblNumData.Location = new System.Drawing.Point(3, 37);
|
|
this.lblNumData.Name = "lblNumData";
|
|
this.lblNumData.Size = new System.Drawing.Size(174, 37);
|
|
this.lblNumData.TabIndex = 2;
|
|
this.lblNumData.Text = "#";
|
|
this.lblNumData.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
//
|
|
// btnOpenDump
|
|
//
|
|
this.btnOpenDump.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.btnOpenDump.Enabled = false;
|
|
this.btnOpenDump.Location = new System.Drawing.Point(382, 3);
|
|
this.btnOpenDump.Name = "btnOpenDump";
|
|
this.btnOpenDump.Size = new System.Drawing.Size(77, 31);
|
|
this.btnOpenDump.TabIndex = 3;
|
|
this.btnOpenDump.Text = "dump";
|
|
this.btnOpenDump.UseVisualStyleBackColor = true;
|
|
this.btnOpenDump.Click += new System.EventHandler(this.dump_Click);
|
|
//
|
|
// lblLastData
|
|
//
|
|
this.lblLastData.AutoSize = true;
|
|
this.lblLastData.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.lblLastData.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.lblLastData.Location = new System.Drawing.Point(183, 37);
|
|
this.lblLastData.Name = "lblLastData";
|
|
this.lblLastData.Size = new System.Drawing.Size(193, 37);
|
|
this.lblLastData.TabIndex = 5;
|
|
this.lblLastData.Text = "...";
|
|
this.lblLastData.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
//
|
|
// statusStrip1
|
|
//
|
|
this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.lblApp,
|
|
this.lblVers,
|
|
this.MainProgrBar,
|
|
this.toolStripStatusLabel1});
|
|
this.statusStrip1.Location = new System.Drawing.Point(0, 256);
|
|
this.statusStrip1.Name = "statusStrip1";
|
|
this.statusStrip1.Size = new System.Drawing.Size(478, 25);
|
|
this.statusStrip1.TabIndex = 2;
|
|
this.statusStrip1.Text = "statusStrip1";
|
|
//
|
|
// lblApp
|
|
//
|
|
this.lblApp.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
|
|
this.lblApp.ForeColor = System.Drawing.SystemColors.ControlText;
|
|
this.lblApp.Name = "lblApp";
|
|
this.lblApp.Size = new System.Drawing.Size(16, 20);
|
|
this.lblApp.Text = "...";
|
|
//
|
|
// lblVers
|
|
//
|
|
this.lblVers.Font = new System.Drawing.Font("Segoe UI", 8F);
|
|
this.lblVers.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
|
|
this.lblVers.Name = "lblVers";
|
|
this.lblVers.Size = new System.Drawing.Size(16, 20);
|
|
this.lblVers.Text = "...";
|
|
//
|
|
// MainProgrBar
|
|
//
|
|
this.MainProgrBar.Name = "MainProgrBar";
|
|
this.MainProgrBar.Size = new System.Drawing.Size(100, 19);
|
|
this.MainProgrBar.Step = 1;
|
|
//
|
|
// toolStripStatusLabel1
|
|
//
|
|
this.toolStripStatusLabel1.Name = "toolStripStatusLabel1";
|
|
this.toolStripStatusLabel1.Size = new System.Drawing.Size(22, 20);
|
|
this.toolStripStatusLabel1.Text = "---";
|
|
//
|
|
// groupBox2
|
|
//
|
|
this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.groupBox2.AutoSize = true;
|
|
this.groupBox2.Controls.Add(this.tableLayoutPanel2);
|
|
this.groupBox2.Location = new System.Drawing.Point(4, 27);
|
|
this.groupBox2.Name = "groupBox2";
|
|
this.groupBox2.Size = new System.Drawing.Size(468, 89);
|
|
this.groupBox2.TabIndex = 3;
|
|
this.groupBox2.TabStop = false;
|
|
this.groupBox2.Text = "DB";
|
|
//
|
|
// tableLayoutPanel2
|
|
//
|
|
this.tableLayoutPanel2.ColumnCount = 3;
|
|
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 47.45763F));
|
|
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 52.54237F));
|
|
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 82F));
|
|
this.tableLayoutPanel2.Controls.Add(this.label3, 1, 0);
|
|
this.tableLayoutPanel2.Controls.Add(this.label4, 0, 0);
|
|
this.tableLayoutPanel2.Controls.Add(this.lblServer, 0, 1);
|
|
this.tableLayoutPanel2.Controls.Add(this.btnStart, 2, 0);
|
|
this.tableLayoutPanel2.Controls.Add(this.btnConnect, 2, 1);
|
|
this.tableLayoutPanel2.Controls.Add(this.lblStatus, 1, 1);
|
|
this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.tableLayoutPanel2.Location = new System.Drawing.Point(3, 16);
|
|
this.tableLayoutPanel2.Name = "tableLayoutPanel2";
|
|
this.tableLayoutPanel2.RowCount = 2;
|
|
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
|
|
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
|
|
this.tableLayoutPanel2.Size = new System.Drawing.Size(462, 70);
|
|
this.tableLayoutPanel2.TabIndex = 2;
|
|
//
|
|
// label3
|
|
//
|
|
this.label3.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.label3.Location = new System.Drawing.Point(183, 0);
|
|
this.label3.Name = "label3";
|
|
this.label3.Size = new System.Drawing.Size(193, 35);
|
|
this.label3.TabIndex = 1;
|
|
this.label3.Text = "Status";
|
|
this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
//
|
|
// label4
|
|
//
|
|
this.label4.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.label4.Location = new System.Drawing.Point(3, 0);
|
|
this.label4.Name = "label4";
|
|
this.label4.Size = new System.Drawing.Size(174, 35);
|
|
this.label4.TabIndex = 0;
|
|
this.label4.Text = "Server";
|
|
this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
//
|
|
// lblServer
|
|
//
|
|
this.lblServer.AutoSize = true;
|
|
this.lblServer.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.lblServer.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.lblServer.ForeColor = System.Drawing.Color.DimGray;
|
|
this.lblServer.Location = new System.Drawing.Point(3, 35);
|
|
this.lblServer.Name = "lblServer";
|
|
this.lblServer.Size = new System.Drawing.Size(174, 35);
|
|
this.lblServer.TabIndex = 2;
|
|
this.lblServer.Text = "none";
|
|
this.lblServer.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
//
|
|
// btnStart
|
|
//
|
|
this.btnStart.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.btnStart.Location = new System.Drawing.Point(382, 3);
|
|
this.btnStart.Name = "btnStart";
|
|
this.btnStart.Size = new System.Drawing.Size(77, 29);
|
|
this.btnStart.TabIndex = 3;
|
|
this.btnStart.Text = "ADP START";
|
|
this.btnStart.UseVisualStyleBackColor = true;
|
|
this.btnStart.Click += new System.EventHandler(this.btnStart_Click);
|
|
//
|
|
// btnConnect
|
|
//
|
|
this.btnConnect.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.btnConnect.Location = new System.Drawing.Point(382, 38);
|
|
this.btnConnect.Name = "btnConnect";
|
|
this.btnConnect.Size = new System.Drawing.Size(77, 29);
|
|
this.btnConnect.TabIndex = 4;
|
|
this.btnConnect.Text = "connect";
|
|
this.btnConnect.UseVisualStyleBackColor = true;
|
|
this.btnConnect.Click += new System.EventHandler(this.btnConnect_Click);
|
|
//
|
|
// lblStatus
|
|
//
|
|
this.lblStatus.AutoSize = true;
|
|
this.lblStatus.BackColor = System.Drawing.Color.DimGray;
|
|
this.lblStatus.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.lblStatus.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.lblStatus.Location = new System.Drawing.Point(183, 35);
|
|
this.lblStatus.Name = "lblStatus";
|
|
this.lblStatus.Size = new System.Drawing.Size(193, 35);
|
|
this.lblStatus.TabIndex = 5;
|
|
this.lblStatus.Text = "offline";
|
|
this.lblStatus.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
//
|
|
// notifyIcon1
|
|
//
|
|
this.notifyIcon1.ContextMenuStrip = this.trayMenu;
|
|
this.notifyIcon1.Text = "MTC ADB";
|
|
this.notifyIcon1.Visible = true;
|
|
this.notifyIcon1.DoubleClick += new System.EventHandler(this.notifyIcon1_DoubleClick);
|
|
//
|
|
// trayMenu
|
|
//
|
|
this.trayMenu.Name = "trayMenu";
|
|
this.trayMenu.Size = new System.Drawing.Size(61, 4);
|
|
this.trayMenu.ItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this.trayMenu_ItemClicked);
|
|
//
|
|
// gather
|
|
//
|
|
this.gather.Tick += new System.EventHandler(this.gather_Tick);
|
|
//
|
|
// MainForm
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(478, 281);
|
|
this.Controls.Add(this.groupBox2);
|
|
this.Controls.Add(this.statusStrip1);
|
|
this.Controls.Add(this.groupBox1);
|
|
this.Controls.Add(this.label1);
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|
this.MaximizeBox = false;
|
|
this.Name = "MainForm";
|
|
this.ShowInTaskbar = false;
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "MTC-ADB";
|
|
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainForm_FormClosing);
|
|
this.Shown += new System.EventHandler(this.MainForm_Shown);
|
|
this.Resize += new System.EventHandler(this.MainForm_Resize);
|
|
this.groupBox1.ResumeLayout(false);
|
|
this.tableLayoutPanel1.ResumeLayout(false);
|
|
this.tableLayoutPanel1.PerformLayout();
|
|
this.statusStrip1.ResumeLayout(false);
|
|
this.statusStrip1.PerformLayout();
|
|
this.groupBox2.ResumeLayout(false);
|
|
this.tableLayoutPanel2.ResumeLayout(false);
|
|
this.tableLayoutPanel2.PerformLayout();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.GroupBox groupBox1;
|
|
private System.Windows.Forms.Label label5;
|
|
private System.Windows.Forms.Label label2;
|
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
|
private System.Windows.Forms.Label lblNumData;
|
|
private System.Windows.Forms.Button btnOpenDump;
|
|
private System.Windows.Forms.Label lblLastData;
|
|
private System.Windows.Forms.StatusStrip statusStrip1;
|
|
private System.Windows.Forms.ToolStripStatusLabel lblApp;
|
|
private System.Windows.Forms.ToolStripStatusLabel lblVers;
|
|
private System.Windows.Forms.ToolStripProgressBar MainProgrBar;
|
|
private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel1;
|
|
private System.Windows.Forms.GroupBox groupBox2;
|
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
|
|
private System.Windows.Forms.Label label3;
|
|
private System.Windows.Forms.Label label4;
|
|
private System.Windows.Forms.Label lblServer;
|
|
private System.Windows.Forms.Button btnStart;
|
|
private System.Windows.Forms.Button btnConnect;
|
|
private System.Windows.Forms.Label lblStatus;
|
|
private System.Windows.Forms.NotifyIcon notifyIcon1;
|
|
private System.Windows.Forms.Timer gather;
|
|
private System.Windows.Forms.ContextMenuStrip trayMenu;
|
|
}
|
|
} |