167 lines
7.3 KiB
C#
167 lines
7.3 KiB
C#
namespace Gidrolock_Modbus_Scanner
|
||
{
|
||
partial class App
|
||
{
|
||
/// <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()
|
||
{
|
||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(App));
|
||
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
||
this.ButtonConnect = new System.Windows.Forms.Button();
|
||
this.panel2 = new System.Windows.Forms.Panel();
|
||
this.UpDown_ModbusID = new System.Windows.Forms.NumericUpDown();
|
||
this.label2 = new System.Windows.Forms.Label();
|
||
this.panel1 = new System.Windows.Forms.Panel();
|
||
this.CBox_Ports = new System.Windows.Forms.ComboBox();
|
||
this.label1 = new System.Windows.Forms.Label();
|
||
this.Label_Status = new System.Windows.Forms.Label();
|
||
this.groupBox1.SuspendLayout();
|
||
this.panel2.SuspendLayout();
|
||
((System.ComponentModel.ISupportInitialize)(this.UpDown_ModbusID)).BeginInit();
|
||
this.panel1.SuspendLayout();
|
||
this.SuspendLayout();
|
||
//
|
||
// groupBox1
|
||
//
|
||
this.groupBox1.Controls.Add(this.ButtonConnect);
|
||
this.groupBox1.Controls.Add(this.panel2);
|
||
this.groupBox1.Controls.Add(this.panel1);
|
||
this.groupBox1.Location = new System.Drawing.Point(12, 12);
|
||
this.groupBox1.Name = "groupBox1";
|
||
this.groupBox1.Size = new System.Drawing.Size(310, 63);
|
||
this.groupBox1.TabIndex = 0;
|
||
this.groupBox1.TabStop = false;
|
||
this.groupBox1.Text = "Подключение";
|
||
//
|
||
// ButtonConnect
|
||
//
|
||
this.ButtonConnect.Location = new System.Drawing.Point(162, 34);
|
||
this.ButtonConnect.Name = "ButtonConnect";
|
||
this.ButtonConnect.Size = new System.Drawing.Size(146, 23);
|
||
this.ButtonConnect.TabIndex = 4;
|
||
this.ButtonConnect.Text = "Подключиться";
|
||
this.ButtonConnect.UseVisualStyleBackColor = true;
|
||
this.ButtonConnect.Click += new System.EventHandler(this.ButtonConnect_Click);
|
||
//
|
||
// panel2
|
||
//
|
||
this.panel2.Controls.Add(this.UpDown_ModbusID);
|
||
this.panel2.Controls.Add(this.label2);
|
||
this.panel2.Location = new System.Drawing.Point(81, 19);
|
||
this.panel2.Name = "panel2";
|
||
this.panel2.Size = new System.Drawing.Size(75, 43);
|
||
this.panel2.TabIndex = 2;
|
||
//
|
||
// UpDown_ModbusID
|
||
//
|
||
this.UpDown_ModbusID.Location = new System.Drawing.Point(6, 17);
|
||
this.UpDown_ModbusID.Name = "UpDown_ModbusID";
|
||
this.UpDown_ModbusID.Size = new System.Drawing.Size(66, 20);
|
||
this.UpDown_ModbusID.TabIndex = 1;
|
||
//
|
||
// label2
|
||
//
|
||
this.label2.AutoSize = true;
|
||
this.label2.Location = new System.Drawing.Point(3, 0);
|
||
this.label2.Name = "label2";
|
||
this.label2.Size = new System.Drawing.Size(59, 13);
|
||
this.label2.TabIndex = 0;
|
||
this.label2.Text = "Modbus ID";
|
||
//
|
||
// panel1
|
||
//
|
||
this.panel1.Controls.Add(this.CBox_Ports);
|
||
this.panel1.Controls.Add(this.label1);
|
||
this.panel1.Location = new System.Drawing.Point(0, 19);
|
||
this.panel1.Name = "panel1";
|
||
this.panel1.Size = new System.Drawing.Size(75, 43);
|
||
this.panel1.TabIndex = 0;
|
||
//
|
||
// CBox_Ports
|
||
//
|
||
this.CBox_Ports.FormattingEnabled = true;
|
||
this.CBox_Ports.Location = new System.Drawing.Point(6, 17);
|
||
this.CBox_Ports.Name = "CBox_Ports";
|
||
this.CBox_Ports.Size = new System.Drawing.Size(65, 21);
|
||
this.CBox_Ports.TabIndex = 1;
|
||
this.CBox_Ports.Text = "COM 1";
|
||
this.CBox_Ports.MouseClick += new System.Windows.Forms.MouseEventHandler(this.CBox_Ports_Click);
|
||
//
|
||
// label1
|
||
//
|
||
this.label1.AutoSize = true;
|
||
this.label1.Location = new System.Drawing.Point(3, 0);
|
||
this.label1.Name = "label1";
|
||
this.label1.Size = new System.Drawing.Size(32, 13);
|
||
this.label1.TabIndex = 0;
|
||
this.label1.Text = "Порт";
|
||
//
|
||
// Label_Status
|
||
//
|
||
this.Label_Status.Location = new System.Drawing.Point(15, 87);
|
||
this.Label_Status.Name = "Label_Status";
|
||
this.Label_Status.Size = new System.Drawing.Size(307, 40);
|
||
this.Label_Status.TabIndex = 5;
|
||
this.Label_Status.Text = "Статус: истекло время ожидания ответа. Проверьте указаный порт, Modbus ID и стату" +
|
||
"с устройства.";
|
||
//
|
||
// App
|
||
//
|
||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||
this.ClientSize = new System.Drawing.Size(333, 84);
|
||
this.Controls.Add(this.Label_Status);
|
||
this.Controls.Add(this.groupBox1);
|
||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||
this.Name = "App";
|
||
this.Text = "Gidrolock Modbus Scanner";
|
||
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.App_FormClosed);
|
||
this.Load += new System.EventHandler(this.Form1_Load);
|
||
this.groupBox1.ResumeLayout(false);
|
||
this.panel2.ResumeLayout(false);
|
||
this.panel2.PerformLayout();
|
||
((System.ComponentModel.ISupportInitialize)(this.UpDown_ModbusID)).EndInit();
|
||
this.panel1.ResumeLayout(false);
|
||
this.panel1.PerformLayout();
|
||
this.ResumeLayout(false);
|
||
|
||
}
|
||
|
||
#endregion
|
||
|
||
private System.Windows.Forms.GroupBox groupBox1;
|
||
private System.Windows.Forms.Panel panel2;
|
||
private System.Windows.Forms.NumericUpDown UpDown_ModbusID;
|
||
private System.Windows.Forms.Label label2;
|
||
private System.Windows.Forms.Panel panel1;
|
||
private System.Windows.Forms.ComboBox CBox_Ports;
|
||
private System.Windows.Forms.Label label1;
|
||
private System.Windows.Forms.Button ButtonConnect;
|
||
private System.Windows.Forms.Label Label_Status;
|
||
}
|
||
}
|
||
|