1 |
2 |
themassau |
namespace WindowsFormsApplication1
|
2 |
|
|
{
|
3 |
|
|
|
4 |
|
|
partial class Form1
|
5 |
|
|
{
|
6 |
|
|
///
|
7 |
|
|
/// Required designer variable.
|
8 |
|
|
///
|
9 |
|
|
private System.ComponentModel.IContainer components = null;
|
10 |
|
|
|
11 |
|
|
///
|
12 |
|
|
/// Clean up any resources being used.
|
13 |
|
|
///
|
14 |
|
|
/// true if managed resources should be disposed; otherwise, false.
|
15 |
|
|
protected override void Dispose(bool disposing)
|
16 |
|
|
{
|
17 |
|
|
if (disposing && (components != null))
|
18 |
|
|
{
|
19 |
|
|
components.Dispose();
|
20 |
|
|
}
|
21 |
|
|
base.Dispose(disposing);
|
22 |
|
|
}
|
23 |
|
|
|
24 |
|
|
#region Windows Form Designer generated code
|
25 |
|
|
|
26 |
|
|
///
|
27 |
|
|
/// Required method for Designer support - do not modify
|
28 |
|
|
/// the contents of this method with the code editor.
|
29 |
|
|
///
|
30 |
|
|
private void InitializeComponent()
|
31 |
|
|
{
|
32 |
|
|
this.read = new System.Windows.Forms.Button();
|
33 |
|
|
this.write = new System.Windows.Forms.Button();
|
34 |
|
|
this.toPC = new System.Windows.Forms.Button();
|
35 |
|
|
this.readadresstext = new System.Windows.Forms.TextBox();
|
36 |
|
|
this.writeadresstext = new System.Windows.Forms.TextBox();
|
37 |
|
|
this.returnData = new System.Windows.Forms.TextBox();
|
38 |
|
|
this.label1 = new System.Windows.Forms.Label();
|
39 |
|
|
this.label4 = new System.Windows.Forms.Label();
|
40 |
|
|
this.writedata = new System.Windows.Forms.TextBox();
|
41 |
|
|
this.SuspendLayout();
|
42 |
|
|
//
|
43 |
|
|
// read
|
44 |
|
|
//
|
45 |
|
|
this.read.Location = new System.Drawing.Point(16, 48);
|
46 |
|
|
this.read.Name = "read";
|
47 |
|
|
this.read.Size = new System.Drawing.Size(75, 23);
|
48 |
|
|
this.read.TabIndex = 0;
|
49 |
|
|
this.read.Tag = "read";
|
50 |
|
|
this.read.Text = "read";
|
51 |
|
|
this.read.UseVisualStyleBackColor = true;
|
52 |
|
|
this.read.Click += new System.EventHandler(this.read_Click);
|
53 |
|
|
//
|
54 |
|
|
// write
|
55 |
|
|
//
|
56 |
|
|
this.write.Location = new System.Drawing.Point(16, 94);
|
57 |
|
|
this.write.Name = "write";
|
58 |
|
|
this.write.Size = new System.Drawing.Size(75, 23);
|
59 |
|
|
this.write.TabIndex = 1;
|
60 |
|
|
this.write.Tag = "write";
|
61 |
|
|
this.write.Text = "write";
|
62 |
|
|
this.write.UseVisualStyleBackColor = true;
|
63 |
|
|
this.write.Click += new System.EventHandler(this.write_Click);
|
64 |
|
|
//
|
65 |
|
|
// toPC
|
66 |
|
|
//
|
67 |
|
|
this.toPC.Location = new System.Drawing.Point(16, 140);
|
68 |
|
|
this.toPC.Name = "toPC";
|
69 |
|
|
this.toPC.Size = new System.Drawing.Size(75, 23);
|
70 |
|
|
this.toPC.TabIndex = 4;
|
71 |
|
|
this.toPC.Tag = "to_pc";
|
72 |
|
|
this.toPC.Text = "to pc";
|
73 |
|
|
this.toPC.UseVisualStyleBackColor = true;
|
74 |
|
|
this.toPC.Click += new System.EventHandler(this.toPC_Click);
|
75 |
|
|
//
|
76 |
|
|
// readadresstext
|
77 |
|
|
//
|
78 |
|
|
this.readadresstext.Location = new System.Drawing.Point(118, 48);
|
79 |
|
|
this.readadresstext.Name = "readadresstext";
|
80 |
|
|
this.readadresstext.Size = new System.Drawing.Size(100, 20);
|
81 |
|
|
this.readadresstext.TabIndex = 5;
|
82 |
|
|
this.readadresstext.Tag = "readadresstext";
|
83 |
|
|
this.readadresstext.TextChanged += new System.EventHandler(this.readadresstext_TextChanged);
|
84 |
|
|
//
|
85 |
|
|
// writeadresstext
|
86 |
|
|
//
|
87 |
|
|
this.writeadresstext.Location = new System.Drawing.Point(118, 96);
|
88 |
|
|
this.writeadresstext.Name = "writeadresstext";
|
89 |
|
|
this.writeadresstext.Size = new System.Drawing.Size(100, 20);
|
90 |
|
|
this.writeadresstext.TabIndex = 8;
|
91 |
|
|
this.writeadresstext.Tag = "writeadresstext";
|
92 |
|
|
this.writeadresstext.TextChanged += new System.EventHandler(this.writeadresstext_TextChanged);
|
93 |
|
|
//
|
94 |
|
|
// returnData
|
95 |
|
|
//
|
96 |
|
|
this.returnData.Location = new System.Drawing.Point(258, 159);
|
97 |
|
|
this.returnData.Name = "returnData";
|
98 |
|
|
this.returnData.ReadOnly = true;
|
99 |
|
|
this.returnData.Size = new System.Drawing.Size(100, 20);
|
100 |
|
|
this.returnData.TabIndex = 13;
|
101 |
|
|
this.returnData.Tag = "returndata";
|
102 |
|
|
//
|
103 |
|
|
// label1
|
104 |
|
|
//
|
105 |
|
|
this.label1.AutoSize = true;
|
106 |
|
|
this.label1.Location = new System.Drawing.Point(258, 140);
|
107 |
|
|
this.label1.Name = "label1";
|
108 |
|
|
this.label1.Size = new System.Drawing.Size(70, 13);
|
109 |
|
|
this.label1.TabIndex = 14;
|
110 |
|
|
this.label1.Text = "returned data";
|
111 |
|
|
//
|
112 |
|
|
// label4
|
113 |
|
|
//
|
114 |
|
|
this.label4.AutoSize = true;
|
115 |
|
|
this.label4.Location = new System.Drawing.Point(115, 21);
|
116 |
|
|
this.label4.Name = "label4";
|
117 |
|
|
this.label4.Size = new System.Drawing.Size(47, 13);
|
118 |
|
|
this.label4.TabIndex = 17;
|
119 |
|
|
this.label4.Text = "register1";
|
120 |
|
|
//
|
121 |
|
|
// writedata
|
122 |
|
|
//
|
123 |
|
|
this.writedata.Location = new System.Drawing.Point(261, 94);
|
124 |
|
|
this.writedata.Name = "writedata";
|
125 |
|
|
this.writedata.Size = new System.Drawing.Size(100, 20);
|
126 |
|
|
this.writedata.TabIndex = 11;
|
127 |
|
|
this.writedata.Tag = "writedata";
|
128 |
|
|
this.writedata.TextChanged += new System.EventHandler(this.writedata_TextChanged);
|
129 |
|
|
//
|
130 |
|
|
// Form1
|
131 |
|
|
//
|
132 |
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
133 |
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
134 |
|
|
this.ClientSize = new System.Drawing.Size(401, 202);
|
135 |
|
|
this.Controls.Add(this.label4);
|
136 |
|
|
this.Controls.Add(this.label1);
|
137 |
|
|
this.Controls.Add(this.returnData);
|
138 |
|
|
this.Controls.Add(this.writedata);
|
139 |
|
|
this.Controls.Add(this.writeadresstext);
|
140 |
|
|
this.Controls.Add(this.readadresstext);
|
141 |
|
|
this.Controls.Add(this.toPC);
|
142 |
|
|
this.Controls.Add(this.write);
|
143 |
|
|
this.Controls.Add(this.read);
|
144 |
|
|
this.Name = "Form1";
|
145 |
|
|
this.Text = "Form1";
|
146 |
|
|
this.ResumeLayout(false);
|
147 |
|
|
this.PerformLayout();
|
148 |
|
|
|
149 |
|
|
}
|
150 |
|
|
|
151 |
|
|
#endregion
|
152 |
|
|
|
153 |
|
|
private System.Windows.Forms.Button read;
|
154 |
|
|
private System.Windows.Forms.Button write;
|
155 |
|
|
private System.Windows.Forms.Button toPC;
|
156 |
|
|
private System.Windows.Forms.TextBox readadresstext;
|
157 |
|
|
private System.Windows.Forms.TextBox writeadresstext;
|
158 |
|
|
private System.Windows.Forms.TextBox returnData;
|
159 |
|
|
private System.Windows.Forms.Label label1;
|
160 |
|
|
private System.Windows.Forms.Label label4;
|
161 |
|
|
private System.Windows.Forms.TextBox writedata;
|
162 |
|
|
}
|
163 |
|
|
}
|
164 |
|
|
|