private void rtbSearchPerson_KeyDown(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.Enter) { rbtnSelectPerson_Click(sender, e); return; } ItemsPublic.checkText(sender, e, rtbSearchPerson.Text, 10); }
private void rtbSearchPerson_KeyDown(object sender, KeyEventArgs e) { //MessageBox.Show(e.KeyCode.ToString()+":"+e.KeyData.ToString()+":"+e.KeyValue.ToString()+":"+ModifierKeys.ToString()); if (e.KeyCode == Keys.Enter) { rbtnSelectPerson_Click(sender, e); return; } //if (e.KeyCode == Keys.V && ModifierKeys == Keys.ControlKey) //{ // //e.KeyCode == ModifierKeys("v") // SendKeys.Send("^V"); // return; //} //if (e.KeyCode == Keys.C && ModifierKeys == Keys.ControlKey) //{ // //e.KeyCode == ModifierKeys("v") // SendKeys.Send("^C"); // return; //} ItemsPublic.checkText(sender, e, rtbSearchPerson.Text, 10); }
private void rmeb24_KeyDown(object sender, KeyEventArgs e) { ItemsPublic.checkText(sender, e, rmeb24.Text, 2); }
private void rtbSearchPerson_KeyDown(object sender, KeyEventArgs e) { ItemsPublic.checkText(sender, e, rtbNationalCode.Text, 10); }
private void rmebNumber_KeyDown(object sender, KeyEventArgs e) { ItemsPublic.checkText(sender, e, rmebNumber.Text, null); }