Commit c141a3d20e354d5ffd657d66bf3658372ca25e24

Authored by r-ujihara
1 parent 32251bed

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

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