private void txtDoctorId_KeyUp(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.Enter) { txtDoctorName.Text = bc.selectDoctorName(txtDoctorId.Text.Trim()); } }
private void TxtDoctorId_KeyUp(object sender, KeyEventArgs e) { //throw new NotImplementedException(); if (e.KeyCode == Keys.Enter) { txtDoctorName.Text = bc.selectDoctorName(txtDoctorId.Text.Trim()); } }