|
@@ -34,29 +34,31 @@
|
34
|
34
|
this.TbItemId = new System.Windows.Forms.TextBox();
|
35
|
35
|
this.TbitemId2 = new System.Windows.Forms.TextBox();
|
36
|
36
|
this.label4 = new System.Windows.Forms.Label();
|
37
|
|
- this.textBox3 = new System.Windows.Forms.TextBox();
|
38
|
|
- this.textBox4 = new System.Windows.Forms.TextBox();
|
|
37
|
+ this.TbInfo = new System.Windows.Forms.TextBox();
|
|
38
|
+ this.TbLen = new System.Windows.Forms.TextBox();
|
39
|
39
|
this.label5 = new System.Windows.Forms.Label();
|
40
|
40
|
this.label6 = new System.Windows.Forms.Label();
|
41
|
|
- this.checkBox1 = new System.Windows.Forms.CheckBox();
|
42
|
|
- this.checkBox2 = new System.Windows.Forms.CheckBox();
|
43
|
|
- this.textBox5 = new System.Windows.Forms.TextBox();
|
|
41
|
+ this.CheckBoxRead = new System.Windows.Forms.CheckBox();
|
|
42
|
+ this.CheckBoxWrite = new System.Windows.Forms.CheckBox();
|
|
43
|
+ this.TbDesp = new System.Windows.Forms.TextBox();
|
44
|
44
|
this.label7 = new System.Windows.Forms.Label();
|
45
|
|
- this.textBox6 = new System.Windows.Forms.TextBox();
|
|
45
|
+ this.TbDv = new System.Windows.Forms.TextBox();
|
46
|
46
|
this.label8 = new System.Windows.Forms.Label();
|
47
|
|
- this.textBox7 = new System.Windows.Forms.TextBox();
|
|
47
|
+ this.TbUv = new System.Windows.Forms.TextBox();
|
48
|
48
|
this.label9 = new System.Windows.Forms.Label();
|
49
|
|
- this.textBox8 = new System.Windows.Forms.TextBox();
|
|
49
|
+ this.TbRemark = new System.Windows.Forms.TextBox();
|
50
|
50
|
this.label10 = new System.Windows.Forms.Label();
|
51
|
51
|
this.label11 = new System.Windows.Forms.Label();
|
52
|
|
- this.label12 = new System.Windows.Forms.Label();
|
|
52
|
+ this.LbUserV = new System.Windows.Forms.Label();
|
53
|
53
|
this.label13 = new System.Windows.Forms.Label();
|
54
|
|
- this.label14 = new System.Windows.Forms.Label();
|
|
54
|
+ this.LbDefaultV = new System.Windows.Forms.Label();
|
55
|
55
|
this.RtbInfo = new System.Windows.Forms.RichTextBox();
|
56
|
56
|
this.BtnCancle = new System.Windows.Forms.Button();
|
57
|
57
|
this.BtnOp = new System.Windows.Forms.Button();
|
58
|
58
|
this.CBInputType = new System.Windows.Forms.ComboBox();
|
59
|
59
|
this.label3 = new System.Windows.Forms.Label();
|
|
60
|
+ this.CBLenUnFix = new System.Windows.Forms.CheckBox();
|
|
61
|
+ this.CBUnCheckUD = new System.Windows.Forms.CheckBox();
|
60
|
62
|
this.SuspendLayout();
|
61
|
63
|
//
|
62
|
64
|
// label1
|
|
@@ -73,9 +75,8 @@
|
73
|
75
|
this.LbDbPriKey.AutoSize = true;
|
74
|
76
|
this.LbDbPriKey.Location = new System.Drawing.Point(125, 9);
|
75
|
77
|
this.LbDbPriKey.Name = "LbDbPriKey";
|
76
|
|
- this.LbDbPriKey.Size = new System.Drawing.Size(34, 17);
|
|
78
|
+ this.LbDbPriKey.Size = new System.Drawing.Size(0, 17);
|
77
|
79
|
this.LbDbPriKey.TabIndex = 1;
|
78
|
|
- this.LbDbPriKey.Text = "Keyr";
|
79
|
80
|
//
|
80
|
81
|
// label2
|
81
|
82
|
//
|
|
@@ -93,7 +94,6 @@
|
93
|
94
|
this.TbItemId.Size = new System.Drawing.Size(121, 23);
|
94
|
95
|
this.TbItemId.TabIndex = 3;
|
95
|
96
|
this.TbItemId.TextChanged += new System.EventHandler(this.TbItemId_TextChanged);
|
96
|
|
- this.TbItemId.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox1_KeyPress);
|
97
|
97
|
//
|
98
|
98
|
// TbitemId2
|
99
|
99
|
//
|
|
@@ -112,19 +112,20 @@
|
112
|
112
|
this.label4.TabIndex = 6;
|
113
|
113
|
this.label4.Text = "功能";
|
114
|
114
|
//
|
115
|
|
- // textBox3
|
|
115
|
+ // TbInfo
|
116
|
116
|
//
|
117
|
|
- this.textBox3.Location = new System.Drawing.Point(50, 64);
|
118
|
|
- this.textBox3.Name = "textBox3";
|
119
|
|
- this.textBox3.Size = new System.Drawing.Size(615, 23);
|
120
|
|
- this.textBox3.TabIndex = 7;
|
|
117
|
+ this.TbInfo.Location = new System.Drawing.Point(50, 64);
|
|
118
|
+ this.TbInfo.Name = "TbInfo";
|
|
119
|
+ this.TbInfo.Size = new System.Drawing.Size(615, 23);
|
|
120
|
+ this.TbInfo.TabIndex = 7;
|
121
|
121
|
//
|
122
|
|
- // textBox4
|
|
122
|
+ // TbLen
|
123
|
123
|
//
|
124
|
|
- this.textBox4.Location = new System.Drawing.Point(50, 93);
|
125
|
|
- this.textBox4.Name = "textBox4";
|
126
|
|
- this.textBox4.Size = new System.Drawing.Size(615, 23);
|
127
|
|
- this.textBox4.TabIndex = 9;
|
|
124
|
+ this.TbLen.Location = new System.Drawing.Point(50, 93);
|
|
125
|
+ this.TbLen.Name = "TbLen";
|
|
126
|
+ this.TbLen.Size = new System.Drawing.Size(151, 23);
|
|
127
|
+ this.TbLen.TabIndex = 9;
|
|
128
|
+ this.TbLen.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.TbLen_KeyPress);
|
128
|
129
|
//
|
129
|
130
|
// label5
|
130
|
131
|
//
|
|
@@ -144,32 +145,32 @@
|
144
|
145
|
this.label6.TabIndex = 10;
|
145
|
146
|
this.label6.Text = "读写";
|
146
|
147
|
//
|
147
|
|
- // checkBox1
|
|
148
|
+ // CheckBoxRead
|
148
|
149
|
//
|
149
|
|
- this.checkBox1.AutoSize = true;
|
150
|
|
- this.checkBox1.Location = new System.Drawing.Point(54, 122);
|
151
|
|
- this.checkBox1.Name = "checkBox1";
|
152
|
|
- this.checkBox1.Size = new System.Drawing.Size(52, 21);
|
153
|
|
- this.checkBox1.TabIndex = 11;
|
154
|
|
- this.checkBox1.Text = "读/R";
|
155
|
|
- this.checkBox1.UseVisualStyleBackColor = true;
|
|
150
|
+ this.CheckBoxRead.AutoSize = true;
|
|
151
|
+ this.CheckBoxRead.Location = new System.Drawing.Point(54, 122);
|
|
152
|
+ this.CheckBoxRead.Name = "CheckBoxRead";
|
|
153
|
+ this.CheckBoxRead.Size = new System.Drawing.Size(52, 21);
|
|
154
|
+ this.CheckBoxRead.TabIndex = 11;
|
|
155
|
+ this.CheckBoxRead.Text = "读/R";
|
|
156
|
+ this.CheckBoxRead.UseVisualStyleBackColor = true;
|
156
|
157
|
//
|
157
|
|
- // checkBox2
|
|
158
|
+ // CheckBoxWrite
|
158
|
159
|
//
|
159
|
|
- this.checkBox2.AutoSize = true;
|
160
|
|
- this.checkBox2.Location = new System.Drawing.Point(112, 122);
|
161
|
|
- this.checkBox2.Name = "checkBox2";
|
162
|
|
- this.checkBox2.Size = new System.Drawing.Size(56, 21);
|
163
|
|
- this.checkBox2.TabIndex = 11;
|
164
|
|
- this.checkBox2.Text = "写/W";
|
165
|
|
- this.checkBox2.UseVisualStyleBackColor = true;
|
|
160
|
+ this.CheckBoxWrite.AutoSize = true;
|
|
161
|
+ this.CheckBoxWrite.Location = new System.Drawing.Point(112, 122);
|
|
162
|
+ this.CheckBoxWrite.Name = "CheckBoxWrite";
|
|
163
|
+ this.CheckBoxWrite.Size = new System.Drawing.Size(56, 21);
|
|
164
|
+ this.CheckBoxWrite.TabIndex = 11;
|
|
165
|
+ this.CheckBoxWrite.Text = "写/W";
|
|
166
|
+ this.CheckBoxWrite.UseVisualStyleBackColor = true;
|
166
|
167
|
//
|
167
|
|
- // textBox5
|
|
168
|
+ // TbDesp
|
168
|
169
|
//
|
169
|
|
- this.textBox5.Location = new System.Drawing.Point(50, 149);
|
170
|
|
- this.textBox5.Name = "textBox5";
|
171
|
|
- this.textBox5.Size = new System.Drawing.Size(615, 23);
|
172
|
|
- this.textBox5.TabIndex = 13;
|
|
170
|
+ this.TbDesp.Location = new System.Drawing.Point(50, 149);
|
|
171
|
+ this.TbDesp.Name = "TbDesp";
|
|
172
|
+ this.TbDesp.Size = new System.Drawing.Size(615, 23);
|
|
173
|
+ this.TbDesp.TabIndex = 13;
|
173
|
174
|
//
|
174
|
175
|
// label7
|
175
|
176
|
//
|
|
@@ -180,12 +181,13 @@
|
180
|
181
|
this.label7.TabIndex = 12;
|
181
|
182
|
this.label7.Text = "描述";
|
182
|
183
|
//
|
183
|
|
- // textBox6
|
|
184
|
+ // TbDv
|
184
|
185
|
//
|
185
|
|
- this.textBox6.Location = new System.Drawing.Point(62, 178);
|
186
|
|
- this.textBox6.Name = "textBox6";
|
187
|
|
- this.textBox6.Size = new System.Drawing.Size(603, 23);
|
188
|
|
- this.textBox6.TabIndex = 15;
|
|
186
|
+ this.TbDv.Location = new System.Drawing.Point(62, 178);
|
|
187
|
+ this.TbDv.Name = "TbDv";
|
|
188
|
+ this.TbDv.Size = new System.Drawing.Size(603, 23);
|
|
189
|
+ this.TbDv.TabIndex = 15;
|
|
190
|
+ this.TbDv.TextChanged += new System.EventHandler(this.TbDv_TextChanged);
|
189
|
191
|
//
|
190
|
192
|
// label8
|
191
|
193
|
//
|
|
@@ -196,12 +198,13 @@
|
196
|
198
|
this.label8.TabIndex = 14;
|
197
|
199
|
this.label8.Text = "默认值";
|
198
|
200
|
//
|
199
|
|
- // textBox7
|
|
201
|
+ // TbUv
|
200
|
202
|
//
|
201
|
|
- this.textBox7.Location = new System.Drawing.Point(62, 207);
|
202
|
|
- this.textBox7.Name = "textBox7";
|
203
|
|
- this.textBox7.Size = new System.Drawing.Size(603, 23);
|
204
|
|
- this.textBox7.TabIndex = 17;
|
|
203
|
+ this.TbUv.Location = new System.Drawing.Point(62, 207);
|
|
204
|
+ this.TbUv.Name = "TbUv";
|
|
205
|
+ this.TbUv.Size = new System.Drawing.Size(603, 23);
|
|
206
|
+ this.TbUv.TabIndex = 17;
|
|
207
|
+ this.TbUv.TextChanged += new System.EventHandler(this.TbUv_TextChanged);
|
205
|
208
|
//
|
206
|
209
|
// label9
|
207
|
210
|
//
|
|
@@ -212,12 +215,12 @@
|
212
|
215
|
this.label9.TabIndex = 16;
|
213
|
216
|
this.label9.Text = "用户值";
|
214
|
217
|
//
|
215
|
|
- // textBox8
|
|
218
|
+ // TbRemark
|
216
|
219
|
//
|
217
|
|
- this.textBox8.Location = new System.Drawing.Point(50, 236);
|
218
|
|
- this.textBox8.Name = "textBox8";
|
219
|
|
- this.textBox8.Size = new System.Drawing.Size(615, 23);
|
220
|
|
- this.textBox8.TabIndex = 19;
|
|
220
|
+ this.TbRemark.Location = new System.Drawing.Point(50, 236);
|
|
221
|
+ this.TbRemark.Name = "TbRemark";
|
|
222
|
+ this.TbRemark.Size = new System.Drawing.Size(615, 23);
|
|
223
|
+ this.TbRemark.TabIndex = 19;
|
221
|
224
|
//
|
222
|
225
|
// label10
|
223
|
226
|
//
|
|
@@ -237,14 +240,14 @@
|
237
|
240
|
this.label11.TabIndex = 20;
|
238
|
241
|
this.label11.Text = "默认值长度:";
|
239
|
242
|
//
|
240
|
|
- // label12
|
|
243
|
+ // LbUserV
|
241
|
244
|
//
|
242
|
|
- this.label12.AutoSize = true;
|
243
|
|
- this.label12.Location = new System.Drawing.Point(207, 275);
|
244
|
|
- this.label12.Name = "label12";
|
245
|
|
- this.label12.Size = new System.Drawing.Size(22, 17);
|
246
|
|
- this.label12.TabIndex = 21;
|
247
|
|
- this.label12.Text = "00";
|
|
245
|
+ this.LbUserV.AutoSize = true;
|
|
246
|
+ this.LbUserV.Location = new System.Drawing.Point(207, 275);
|
|
247
|
+ this.LbUserV.Name = "LbUserV";
|
|
248
|
+ this.LbUserV.Size = new System.Drawing.Size(22, 17);
|
|
249
|
+ this.LbUserV.TabIndex = 21;
|
|
250
|
+ this.LbUserV.Text = "00";
|
248
|
251
|
//
|
249
|
252
|
// label13
|
250
|
253
|
//
|
|
@@ -255,14 +258,14 @@
|
255
|
258
|
this.label13.TabIndex = 22;
|
256
|
259
|
this.label13.Text = "用户值长度:";
|
257
|
260
|
//
|
258
|
|
- // label14
|
|
261
|
+ // LbDefaultV
|
259
|
262
|
//
|
260
|
|
- this.label14.AutoSize = true;
|
261
|
|
- this.label14.Location = new System.Drawing.Point(89, 275);
|
262
|
|
- this.label14.Name = "label14";
|
263
|
|
- this.label14.Size = new System.Drawing.Size(22, 17);
|
264
|
|
- this.label14.TabIndex = 23;
|
265
|
|
- this.label14.Text = "00";
|
|
263
|
+ this.LbDefaultV.AutoSize = true;
|
|
264
|
+ this.LbDefaultV.Location = new System.Drawing.Point(89, 275);
|
|
265
|
+ this.LbDefaultV.Name = "LbDefaultV";
|
|
266
|
+ this.LbDefaultV.Size = new System.Drawing.Size(22, 17);
|
|
267
|
+ this.LbDefaultV.TabIndex = 23;
|
|
268
|
+ this.LbDefaultV.Text = "00";
|
266
|
269
|
//
|
267
|
270
|
// RtbInfo
|
268
|
271
|
//
|
|
@@ -275,6 +278,7 @@
|
275
|
278
|
//
|
276
|
279
|
// BtnCancle
|
277
|
280
|
//
|
|
281
|
+ this.BtnCancle.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
278
|
282
|
this.BtnCancle.Location = new System.Drawing.Point(509, 397);
|
279
|
283
|
this.BtnCancle.Name = "BtnCancle";
|
280
|
284
|
this.BtnCancle.Size = new System.Drawing.Size(75, 23);
|
|
@@ -290,6 +294,7 @@
|
290
|
294
|
this.BtnOp.TabIndex = 25;
|
291
|
295
|
this.BtnOp.Text = "添加";
|
292
|
296
|
this.BtnOp.UseVisualStyleBackColor = true;
|
|
297
|
+ this.BtnOp.Click += new System.EventHandler(this.BtnOp_Click);
|
293
|
298
|
//
|
294
|
299
|
// CBInputType
|
295
|
300
|
//
|
|
@@ -314,33 +319,59 @@
|
314
|
319
|
this.label3.Text = "不同进制";
|
315
|
320
|
this.label3.TextAlign = System.Drawing.ContentAlignment.TopCenter;
|
316
|
321
|
//
|
|
322
|
+ // CBLenUnFix
|
|
323
|
+ //
|
|
324
|
+ this.CBLenUnFix.AutoSize = true;
|
|
325
|
+ this.CBLenUnFix.Location = new System.Drawing.Point(210, 95);
|
|
326
|
+ this.CBLenUnFix.Name = "CBLenUnFix";
|
|
327
|
+ this.CBLenUnFix.Size = new System.Drawing.Size(63, 21);
|
|
328
|
+ this.CBLenUnFix.TabIndex = 27;
|
|
329
|
+ this.CBLenUnFix.Text = "不定长";
|
|
330
|
+ this.CBLenUnFix.UseVisualStyleBackColor = true;
|
|
331
|
+ this.CBLenUnFix.CheckedChanged += new System.EventHandler(this.CBLenUnFix_CheckedChanged);
|
|
332
|
+ //
|
|
333
|
+ // CBUnCheckUD
|
|
334
|
+ //
|
|
335
|
+ this.CBUnCheckUD.AutoSize = true;
|
|
336
|
+ this.CBUnCheckUD.Checked = true;
|
|
337
|
+ this.CBUnCheckUD.CheckState = System.Windows.Forms.CheckState.Checked;
|
|
338
|
+ this.CBUnCheckUD.Location = new System.Drawing.Point(279, 95);
|
|
339
|
+ this.CBUnCheckUD.Name = "CBUnCheckUD";
|
|
340
|
+ this.CBUnCheckUD.Size = new System.Drawing.Size(147, 21);
|
|
341
|
+ this.CBUnCheckUD.TabIndex = 28;
|
|
342
|
+ this.CBUnCheckUD.Text = "是否检查长度与默认值";
|
|
343
|
+ this.CBUnCheckUD.UseVisualStyleBackColor = true;
|
|
344
|
+ //
|
317
|
345
|
// ItemEditorForm
|
318
|
346
|
//
|
319
|
347
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
|
320
|
348
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
349
|
+ this.CancelButton = this.BtnCancle;
|
321
|
350
|
this.ClientSize = new System.Drawing.Size(677, 432);
|
|
351
|
+ this.Controls.Add(this.CBUnCheckUD);
|
|
352
|
+ this.Controls.Add(this.CBLenUnFix);
|
322
|
353
|
this.Controls.Add(this.CBInputType);
|
323
|
354
|
this.Controls.Add(this.BtnOp);
|
324
|
355
|
this.Controls.Add(this.BtnCancle);
|
325
|
356
|
this.Controls.Add(this.RtbInfo);
|
326
|
|
- this.Controls.Add(this.label14);
|
|
357
|
+ this.Controls.Add(this.LbDefaultV);
|
327
|
358
|
this.Controls.Add(this.label13);
|
328
|
|
- this.Controls.Add(this.label12);
|
|
359
|
+ this.Controls.Add(this.LbUserV);
|
329
|
360
|
this.Controls.Add(this.label11);
|
330
|
|
- this.Controls.Add(this.textBox8);
|
|
361
|
+ this.Controls.Add(this.TbRemark);
|
331
|
362
|
this.Controls.Add(this.label10);
|
332
|
|
- this.Controls.Add(this.textBox7);
|
|
363
|
+ this.Controls.Add(this.TbUv);
|
333
|
364
|
this.Controls.Add(this.label9);
|
334
|
|
- this.Controls.Add(this.textBox6);
|
|
365
|
+ this.Controls.Add(this.TbDv);
|
335
|
366
|
this.Controls.Add(this.label8);
|
336
|
|
- this.Controls.Add(this.textBox5);
|
|
367
|
+ this.Controls.Add(this.TbDesp);
|
337
|
368
|
this.Controls.Add(this.label7);
|
338
|
|
- this.Controls.Add(this.checkBox2);
|
339
|
|
- this.Controls.Add(this.checkBox1);
|
|
369
|
+ this.Controls.Add(this.CheckBoxWrite);
|
|
370
|
+ this.Controls.Add(this.CheckBoxRead);
|
340
|
371
|
this.Controls.Add(this.label6);
|
341
|
|
- this.Controls.Add(this.textBox4);
|
|
372
|
+ this.Controls.Add(this.TbLen);
|
342
|
373
|
this.Controls.Add(this.label5);
|
343
|
|
- this.Controls.Add(this.textBox3);
|
|
374
|
+ this.Controls.Add(this.TbInfo);
|
344
|
375
|
this.Controls.Add(this.label4);
|
345
|
376
|
this.Controls.Add(this.TbitemId2);
|
346
|
377
|
this.Controls.Add(this.label3);
|
|
@@ -372,28 +403,30 @@
|
372
|
403
|
private System.Windows.Forms.TextBox TbItemId;
|
373
|
404
|
private System.Windows.Forms.TextBox TbitemId2;
|
374
|
405
|
private System.Windows.Forms.Label label4;
|
375
|
|
- private System.Windows.Forms.TextBox textBox3;
|
376
|
|
- private System.Windows.Forms.TextBox textBox4;
|
|
406
|
+ private System.Windows.Forms.TextBox TbInfo;
|
|
407
|
+ private System.Windows.Forms.TextBox TbLen;
|
377
|
408
|
private System.Windows.Forms.Label label5;
|
378
|
409
|
private System.Windows.Forms.Label label6;
|
379
|
|
- private System.Windows.Forms.CheckBox checkBox1;
|
380
|
|
- private System.Windows.Forms.CheckBox checkBox2;
|
381
|
|
- private System.Windows.Forms.TextBox textBox5;
|
|
410
|
+ private System.Windows.Forms.CheckBox CheckBoxRead;
|
|
411
|
+ private System.Windows.Forms.CheckBox CheckBoxWrite;
|
|
412
|
+ private System.Windows.Forms.TextBox TbDesp;
|
382
|
413
|
private System.Windows.Forms.Label label7;
|
383
|
|
- private System.Windows.Forms.TextBox textBox6;
|
|
414
|
+ private System.Windows.Forms.TextBox TbDv;
|
384
|
415
|
private System.Windows.Forms.Label label8;
|
385
|
|
- private System.Windows.Forms.TextBox textBox7;
|
|
416
|
+ private System.Windows.Forms.TextBox TbUv;
|
386
|
417
|
private System.Windows.Forms.Label label9;
|
387
|
|
- private System.Windows.Forms.TextBox textBox8;
|
|
418
|
+ private System.Windows.Forms.TextBox TbRemark;
|
388
|
419
|
private System.Windows.Forms.Label label10;
|
389
|
420
|
private System.Windows.Forms.Label label11;
|
390
|
|
- private System.Windows.Forms.Label label12;
|
|
421
|
+ private System.Windows.Forms.Label LbUserV;
|
391
|
422
|
private System.Windows.Forms.Label label13;
|
392
|
|
- private System.Windows.Forms.Label label14;
|
|
423
|
+ private System.Windows.Forms.Label LbDefaultV;
|
393
|
424
|
private System.Windows.Forms.RichTextBox RtbInfo;
|
394
|
425
|
private System.Windows.Forms.Button BtnCancle;
|
395
|
426
|
private System.Windows.Forms.Button BtnOp;
|
396
|
427
|
private System.Windows.Forms.ComboBox CBInputType;
|
397
|
428
|
private System.Windows.Forms.Label label3;
|
|
429
|
+ private System.Windows.Forms.CheckBox CBLenUnFix;
|
|
430
|
+ private System.Windows.Forms.CheckBox CBUnCheckUD;
|
398
|
431
|
}
|
399
|
432
|
}
|