private void ShowPatientList() { var frm = new frm_TimKiem_BN(); frm.SearchByDate = false; frm.txtPatientCode.Text = txtMaLanKham.Text; frm.ShowDialog(); if (!frm.m_blnCancel) { txtMaLanKham.Text = Utility.sDbnull(frm.MaLuotkham); txtMaLanKham_KeyDown(txtMaLanKham, new KeyEventArgs(Keys.Enter)); } }
private void ShowPatientList() { var frm = new frm_TimKiem_BN(); frm.SearchByDate = false; frm.txtPatientCode.Text = txtMaLanKham.Text; frm.ShowDialog(); if (!frm.m_blnCancel) { txtMaLanKham.Text = Utility.sDbnull(frm.MaLuotkham); BindData(); } }