以 SendKeys.Send 方法 係發生 event 後 Trigger KeyBoard 輸入 既 方法
Form1.cs |
private void button4_Click(object sender, EventArgs e) { textBox1.Focus(); SendKeys.Send("{1}"); } |
以 SendKeys.Send 方法 係發生 event 後 Trigger KeyBoard 輸入 既 方法
Form1.cs |
private void button4_Click(object sender, EventArgs e) { textBox1.Focus(); SendKeys.Send("{1}"); } |