Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2233 | - | 1 | namespace SimpleSerialPort |
2 | { |
||
3 | partial class SimpleSerialPort |
||
4 | { |
||
5 | /// <summary> |
||
6 | /// Required designer variable. |
||
7 | /// </summary> |
||
8 | private System.ComponentModel.IContainer components = null; |
||
9 | |||
10 | /// <summary> |
||
11 | /// Clean up any resources being used. |
||
12 | /// </summary> |
||
13 | /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> |
||
14 | protected override void Dispose(bool disposing) |
||
15 | { |
||
16 | if (disposing && (components != null)) |
||
17 | { |
||
18 | components.Dispose(); |
||
19 | } |
||
20 | base.Dispose(disposing); |
||
21 | } |
||
22 | |||
23 | #region Component Designer generated code |
||
24 | |||
25 | /// <summary> |
||
26 | /// Required method for Designer support - do not modify |
||
27 | /// the contents of this method with the code editor. |
||
28 | /// </summary> |
||
29 | private void InitializeComponent() |
||
30 | { |
||
31 | this.comboBoxPortName = new System.Windows.Forms.ComboBox(); |
||
32 | this.buttonOpen = new System.Windows.Forms.Button(); |
||
33 | this.buttonClose = new System.Windows.Forms.Button(); |
||
34 | this.textBoxBaudRate = new System.Windows.Forms.TextBox(); |
||
35 | this.textBoxStatus = new System.Windows.Forms.TextBox(); |
||
36 | this.textBoxDataBits = new System.Windows.Forms.TextBox(); |
||
37 | this.comboBoxStopBits = new System.Windows.Forms.ComboBox(); |
||
38 | this.comboBoxParity = new System.Windows.Forms.ComboBox(); |
||
39 | this.labelStatus = new System.Windows.Forms.Label(); |
||
40 | this.labelPortName = new System.Windows.Forms.Label(); |
||
41 | this.labelBaudRate = new System.Windows.Forms.Label(); |
||
42 | this.labelDataBits = new System.Windows.Forms.Label(); |
||
43 | this.labelStopBits = new System.Windows.Forms.Label(); |
||
44 | this.labelParity = new System.Windows.Forms.Label(); |
||
2261 | - | 45 | this.btnRefresh = new System.Windows.Forms.Button(); |
2233 | - | 46 | this.SuspendLayout(); |
47 | // |
||
48 | // comboBoxPortName |
||
49 | // |
||
50 | this.comboBoxPortName.FormattingEnabled = true; |
||
2261 | - | 51 | this.comboBoxPortName.Location = new System.Drawing.Point(73, 88); |
2233 | - | 52 | this.comboBoxPortName.Name = "comboBoxPortName"; |
53 | this.comboBoxPortName.Size = new System.Drawing.Size(100, 21); |
||
54 | this.comboBoxPortName.TabIndex = 0; |
||
55 | // |
||
56 | // buttonOpen |
||
57 | // |
||
2261 | - | 58 | this.buttonOpen.Location = new System.Drawing.Point(73, 5); |
2233 | - | 59 | this.buttonOpen.Name = "buttonOpen"; |
60 | this.buttonOpen.Size = new System.Drawing.Size(100, 23); |
||
61 | this.buttonOpen.TabIndex = 1; |
||
62 | this.buttonOpen.Text = "Open"; |
||
63 | this.buttonOpen.UseVisualStyleBackColor = true; |
||
64 | this.buttonOpen.Click += new System.EventHandler(this.buttonOpen_Click); |
||
65 | // |
||
66 | // buttonClose |
||
67 | // |
||
2261 | - | 68 | this.buttonClose.Location = new System.Drawing.Point(73, 34); |
2233 | - | 69 | this.buttonClose.Name = "buttonClose"; |
70 | this.buttonClose.Size = new System.Drawing.Size(100, 23); |
||
71 | this.buttonClose.TabIndex = 2; |
||
72 | this.buttonClose.Text = "Close"; |
||
73 | this.buttonClose.UseVisualStyleBackColor = true; |
||
74 | this.buttonClose.Click += new System.EventHandler(this.buttonClose_Click); |
||
75 | // |
||
76 | // textBoxBaudRate |
||
77 | // |
||
2261 | - | 78 | this.textBoxBaudRate.Location = new System.Drawing.Point(73, 115); |
2233 | - | 79 | this.textBoxBaudRate.Name = "textBoxBaudRate"; |
80 | this.textBoxBaudRate.Size = new System.Drawing.Size(100, 20); |
||
81 | this.textBoxBaudRate.TabIndex = 3; |
||
82 | // |
||
83 | // textBoxStatus |
||
84 | // |
||
2261 | - | 85 | this.textBoxStatus.Location = new System.Drawing.Point(73, 63); |
2233 | - | 86 | this.textBoxStatus.Name = "textBoxStatus"; |
87 | this.textBoxStatus.ReadOnly = true; |
||
88 | this.textBoxStatus.Size = new System.Drawing.Size(100, 20); |
||
89 | this.textBoxStatus.TabIndex = 4; |
||
90 | // |
||
91 | // textBoxDataBits |
||
92 | // |
||
2261 | - | 93 | this.textBoxDataBits.Location = new System.Drawing.Point(73, 142); |
2233 | - | 94 | this.textBoxDataBits.Name = "textBoxDataBits"; |
95 | this.textBoxDataBits.Size = new System.Drawing.Size(100, 20); |
||
96 | this.textBoxDataBits.TabIndex = 5; |
||
97 | // |
||
98 | // comboBoxStopBits |
||
99 | // |
||
100 | this.comboBoxStopBits.FormattingEnabled = true; |
||
2261 | - | 101 | this.comboBoxStopBits.Location = new System.Drawing.Point(73, 169); |
2233 | - | 102 | this.comboBoxStopBits.Name = "comboBoxStopBits"; |
103 | this.comboBoxStopBits.Size = new System.Drawing.Size(100, 21); |
||
104 | this.comboBoxStopBits.TabIndex = 6; |
||
105 | // |
||
106 | // comboBoxParity |
||
107 | // |
||
108 | this.comboBoxParity.FormattingEnabled = true; |
||
2261 | - | 109 | this.comboBoxParity.Location = new System.Drawing.Point(73, 197); |
2233 | - | 110 | this.comboBoxParity.Name = "comboBoxParity"; |
111 | this.comboBoxParity.Size = new System.Drawing.Size(100, 21); |
||
112 | this.comboBoxParity.TabIndex = 7; |
||
113 | // |
||
114 | // labelStatus |
||
115 | // |
||
116 | this.labelStatus.AutoSize = true; |
||
2261 | - | 117 | this.labelStatus.Location = new System.Drawing.Point(30, 66); |
2233 | - | 118 | this.labelStatus.Name = "labelStatus"; |
119 | this.labelStatus.Size = new System.Drawing.Size(37, 13); |
||
120 | this.labelStatus.TabIndex = 8; |
||
121 | this.labelStatus.Text = "Status"; |
||
122 | // |
||
123 | // labelPortName |
||
124 | // |
||
125 | this.labelPortName.AutoSize = true; |
||
2261 | - | 126 | this.labelPortName.Location = new System.Drawing.Point(10, 91); |
2233 | - | 127 | this.labelPortName.Name = "labelPortName"; |
128 | this.labelPortName.Size = new System.Drawing.Size(57, 13); |
||
129 | this.labelPortName.TabIndex = 9; |
||
130 | this.labelPortName.Text = "Port Name"; |
||
131 | // |
||
132 | // labelBaudRate |
||
133 | // |
||
134 | this.labelBaudRate.AutoSize = true; |
||
2261 | - | 135 | this.labelBaudRate.Location = new System.Drawing.Point(9, 118); |
2233 | - | 136 | this.labelBaudRate.Name = "labelBaudRate"; |
137 | this.labelBaudRate.Size = new System.Drawing.Size(58, 13); |
||
138 | this.labelBaudRate.TabIndex = 10; |
||
139 | this.labelBaudRate.Text = "Baud Rate"; |
||
140 | // |
||
141 | // labelDataBits |
||
142 | // |
||
143 | this.labelDataBits.AutoSize = true; |
||
2261 | - | 144 | this.labelDataBits.Location = new System.Drawing.Point(17, 145); |
2233 | - | 145 | this.labelDataBits.Name = "labelDataBits"; |
146 | this.labelDataBits.Size = new System.Drawing.Size(50, 13); |
||
147 | this.labelDataBits.TabIndex = 11; |
||
148 | this.labelDataBits.Text = "Data Bits"; |
||
149 | // |
||
150 | // labelStopBits |
||
151 | // |
||
152 | this.labelStopBits.AutoSize = true; |
||
2261 | - | 153 | this.labelStopBits.Location = new System.Drawing.Point(18, 172); |
2233 | - | 154 | this.labelStopBits.Name = "labelStopBits"; |
155 | this.labelStopBits.Size = new System.Drawing.Size(49, 13); |
||
156 | this.labelStopBits.TabIndex = 12; |
||
157 | this.labelStopBits.Text = "Stop Bits"; |
||
158 | // |
||
159 | // labelParity |
||
160 | // |
||
161 | this.labelParity.AutoSize = true; |
||
2261 | - | 162 | this.labelParity.Location = new System.Drawing.Point(30, 200); |
2233 | - | 163 | this.labelParity.Name = "labelParity"; |
164 | this.labelParity.Size = new System.Drawing.Size(33, 13); |
||
165 | this.labelParity.TabIndex = 13; |
||
166 | this.labelParity.Text = "Parity"; |
||
167 | // |
||
2261 | - | 168 | // btnRefresh |
169 | // |
||
170 | this.btnRefresh.Location = new System.Drawing.Point(5, 9); |
||
171 | this.btnRefresh.Name = "btnRefresh"; |
||
172 | this.btnRefresh.Size = new System.Drawing.Size(60, 39); |
||
173 | this.btnRefresh.TabIndex = 14; |
||
174 | this.btnRefresh.Text = "refresh\r\nportlist"; |
||
175 | this.btnRefresh.UseVisualStyleBackColor = true; |
||
176 | this.btnRefresh.Click += new System.EventHandler(this.btnRefresh_Click); |
||
177 | // |
||
2233 | - | 178 | // SimpleSerialPort |
179 | // |
||
180 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); |
||
181 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
||
2261 | - | 182 | this.Controls.Add(this.btnRefresh); |
2233 | - | 183 | this.Controls.Add(this.labelParity); |
184 | this.Controls.Add(this.labelStopBits); |
||
185 | this.Controls.Add(this.labelDataBits); |
||
186 | this.Controls.Add(this.labelBaudRate); |
||
187 | this.Controls.Add(this.labelPortName); |
||
188 | this.Controls.Add(this.labelStatus); |
||
189 | this.Controls.Add(this.comboBoxParity); |
||
190 | this.Controls.Add(this.comboBoxStopBits); |
||
191 | this.Controls.Add(this.textBoxDataBits); |
||
192 | this.Controls.Add(this.textBoxStatus); |
||
193 | this.Controls.Add(this.textBoxBaudRate); |
||
194 | this.Controls.Add(this.buttonClose); |
||
195 | this.Controls.Add(this.buttonOpen); |
||
196 | this.Controls.Add(this.comboBoxPortName); |
||
197 | this.Name = "SimpleSerialPort"; |
||
2261 | - | 198 | this.Size = new System.Drawing.Size(181, 229); |
2233 | - | 199 | this.ResumeLayout(false); |
200 | this.PerformLayout(); |
||
201 | |||
202 | } |
||
203 | |||
204 | #endregion |
||
205 | |||
206 | private System.Windows.Forms.ComboBox comboBoxPortName; |
||
207 | private System.Windows.Forms.Button buttonOpen; |
||
208 | private System.Windows.Forms.Button buttonClose; |
||
209 | private System.Windows.Forms.TextBox textBoxBaudRate; |
||
210 | private System.Windows.Forms.TextBox textBoxStatus; |
||
211 | private System.Windows.Forms.TextBox textBoxDataBits; |
||
212 | private System.Windows.Forms.ComboBox comboBoxStopBits; |
||
213 | private System.Windows.Forms.ComboBox comboBoxParity; |
||
214 | private System.Windows.Forms.Label labelStatus; |
||
215 | private System.Windows.Forms.Label labelPortName; |
||
216 | private System.Windows.Forms.Label labelBaudRate; |
||
217 | private System.Windows.Forms.Label labelDataBits; |
||
218 | private System.Windows.Forms.Label labelStopBits; |
||
219 | private System.Windows.Forms.Label labelParity; |
||
2261 | - | 220 | private System.Windows.Forms.Button btnRefresh; |
2233 | - | 221 | } |
222 | } |