Commit c141a3d20e354d5ffd657d66bf3658372ca25e24

Authored by r-ujihara
1 parent 32251bed

行政区コード入力後フォーカスをボタンに移動

... ... @@ -97,7 +97,7 @@
97 97 this.button1.Location = new System.Drawing.Point(12, 212);
98 98 this.button1.Name = "button1";
99 99 this.button1.Size = new System.Drawing.Size(105, 58);
100   - this.button1.TabIndex = 6;
  100 + this.button1.TabIndex = 5;
101 101 this.button1.Text = "入力";
102 102 this.button1.UseVisualStyleBackColor = true;
103 103 this.button1.Click += new System.EventHandler(this.button1_Click);
... ... @@ -107,7 +107,7 @@
107 107 this.button2.Location = new System.Drawing.Point(167, 212);
108 108 this.button2.Name = "button2";
109 109 this.button2.Size = new System.Drawing.Size(105, 58);
110   - this.button2.TabIndex = 7;
  110 + this.button2.TabIndex = 6;
111 111 this.button2.Text = "修正";
112 112 this.button2.UseVisualStyleBackColor = true;
113 113 this.button2.Click += new System.EventHandler(this.button2_Click);
... ... @@ -127,7 +127,7 @@
127 127 this.comboBox4.Location = new System.Drawing.Point(96, 157);
128 128 this.comboBox4.Name = "comboBox4";
129 129 this.comboBox4.Size = new System.Drawing.Size(176, 20);
130   - this.comboBox4.TabIndex = 9;
  130 + this.comboBox4.TabIndex = 4;
131 131 //
132 132 // textBox1
133 133 //
... ... @@ -135,7 +135,7 @@
135 135 this.textBox1.MaxLength = 5;
136 136 this.textBox1.Name = "textBox1";
137 137 this.textBox1.Size = new System.Drawing.Size(100, 19);
138   - this.textBox1.TabIndex = 10;
  138 + this.textBox1.TabIndex = 3;
139 139 this.textBox1.TextChanged += new System.EventHandler(this.textBox1_TextChanged);
140 140 //
141 141 // Form1
... ...
... ... @@ -185,6 +185,7 @@ namespace MedicalCheckInputTool
185 185 {
186 186 string value = anSet.adminName[key];
187 187 comboBox4.Items.Add(key + ":" + value);
  188 + button1.Focus();
188 189 }
189 190 else
190 191 {
... ...
Please register or login to post a comment