FrmMain.Designer.cs
5.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
namespace AIOBOX_Debug
{
partial class FrmMain
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows 窗体设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要修改
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.BtnIP = new System.Windows.Forms.Button();
this.BtnIO = new System.Windows.Forms.Button();
this.BtnCon = new System.Windows.Forms.Button();
this.pictureBox2 = new System.Windows.Forms.PictureBox();
this.ChkLog = new System.Windows.Forms.CheckBox();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
this.SuspendLayout();
//
// pictureBox1
//
this.pictureBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.pictureBox1.Location = new System.Drawing.Point(12, 41);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(507, 166);
this.pictureBox1.TabIndex = 0;
this.pictureBox1.TabStop = false;
//
// BtnIP
//
this.BtnIP.Location = new System.Drawing.Point(12, 12);
this.BtnIP.Name = "BtnIP";
this.BtnIP.Size = new System.Drawing.Size(75, 23);
this.BtnIP.TabIndex = 1;
this.BtnIP.Text = "IP Set";
this.BtnIP.UseVisualStyleBackColor = true;
this.BtnIP.Click += new System.EventHandler(this.BtnIP_Click);
//
// BtnIO
//
this.BtnIO.Location = new System.Drawing.Point(93, 12);
this.BtnIO.Name = "BtnIO";
this.BtnIO.Size = new System.Drawing.Size(75, 23);
this.BtnIO.TabIndex = 2;
this.BtnIO.Text = "IO Set";
this.BtnIO.UseVisualStyleBackColor = true;
this.BtnIO.Click += new System.EventHandler(this.BtnIO_Click);
//
// BtnCon
//
this.BtnCon.Location = new System.Drawing.Point(174, 12);
this.BtnCon.Name = "BtnCon";
this.BtnCon.Size = new System.Drawing.Size(75, 23);
this.BtnCon.TabIndex = 3;
this.BtnCon.Text = "Connect";
this.BtnCon.UseVisualStyleBackColor = true;
this.BtnCon.Click += new System.EventHandler(this.BtnCon_Click);
//
// pictureBox2
//
this.pictureBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.pictureBox2.Location = new System.Drawing.Point(12, 213);
this.pictureBox2.Name = "pictureBox2";
this.pictureBox2.Size = new System.Drawing.Size(507, 166);
this.pictureBox2.TabIndex = 4;
this.pictureBox2.TabStop = false;
//
// ChkLog
//
this.ChkLog.AutoSize = true;
this.ChkLog.Location = new System.Drawing.Point(255, 16);
this.ChkLog.Name = "ChkLog";
this.ChkLog.Size = new System.Drawing.Size(84, 16);
this.ChkLog.TabIndex = 5;
this.ChkLog.Text = "Log output";
this.ChkLog.UseVisualStyleBackColor = true;
//
// FrmMain
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(531, 393);
this.Controls.Add(this.ChkLog);
this.Controls.Add(this.pictureBox2);
this.Controls.Add(this.BtnCon);
this.Controls.Add(this.BtnIO);
this.Controls.Add(this.BtnIP);
this.Controls.Add(this.pictureBox1);
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "FrmMain";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "IO Module Test";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FrmMain_FormClosing);
this.Load += new System.EventHandler(this.FrmMain_Load);
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.PictureBox pictureBox1;
private System.Windows.Forms.Button BtnIP;
private System.Windows.Forms.Button BtnIO;
private System.Windows.Forms.Button BtnCon;
private System.Windows.Forms.PictureBox pictureBox2;
private System.Windows.Forms.CheckBox ChkLog;
}
}