private void txtUNIT_KeyUp(object sender, KeyEventArgs e) { if (!string.IsNullOrEmpty(txtUNIT.Text)) { return; } if (e.KeyCode == Keys.Enter) { VIEW.FormVIEWSATUAN frm = new LOGISTICMANAGAMENTSYSTEM.VIEW.FormVIEWSATUAN(this); frm.ShowDialog(); } }
private void txtUNIT_KeyUp(object sender, KeyEventArgs e) { if (!string.IsNullOrEmpty(txtUNIT.Text)) return; if (e.KeyCode == Keys.Enter) { VIEW.FormVIEWSATUAN frm = new LOGISTICMANAGAMENTSYSTEM.VIEW.FormVIEWSATUAN(this); frm.ShowDialog(); } }