protected override CreateParams CreateParams { get { CreateParams param = base.CreateParams; param.ExStyle |= 0x08000000; return param; } } private void button14_Click(object sender, EventArgs e) {//one of the Key in Keyboard if (checkBox1.Checked) { SendKeys.Send("Q"); } else { SendKeys.Send("q"); } } private void textBox1_TextChanged(object sender, EventArgs e) { }
textBox1.Focus(); SendKeys.Send("Q");
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)