private void txtEditSearchWord_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e) { if (e.KeyCode == System.Windows.Forms.Keys.Enter) { simpleButton1.PerformClick(); e.Handled = true; } }
private void txtPwd_KeyPress(object sender, KeyPressEventArgs e) { if (e.KeyChar == 13) { sbtnOk.PerformClick(); } }
private void gridView1_DoubleClick(object sender, System.EventArgs e) { DevExpress.XtraGrid.Views.Grid.ViewInfo.GridHitInfo hitInfo = ACMS.XtraUtils.GridViewUtils.GetGridHitInfo(gridView1); if (hitInfo.InRow) { sbtnOK.PerformClick(); } }
private void GridView7_DoubleClick(object sender, System.EventArgs e) { simpleButtonOK.PerformClick(); }