Example #1
0
 private void txtKODEDEPT_KeyUp(object sender, KeyEventArgs e)
 {
     if (!string.IsNullOrEmpty(txtKODEDEPT.Text))
     {
         return;
     }
     if (e.KeyCode == Keys.Enter)
     {
         VIEW.FormVIEWDEPARTMENT frm = new LOGISTICMANAGAMENTSYSTEM.VIEW.FormVIEWDEPARTMENT(this);
         frm.ShowDialog();
     }
 }
 private void txtKODEDEPT_KeyUp(object sender, KeyEventArgs e)
 {
     if (!string.IsNullOrEmpty(txtKODEDEPT.Text)) return;
     if (e.KeyCode == Keys.Enter)
     {
         VIEW.FormVIEWDEPARTMENT frm = new LOGISTICMANAGAMENTSYSTEM.VIEW.FormVIEWDEPARTMENT(this);
         frm.ShowDialog();
     }
 }