Beispiel #1
0
 private void barButtonItem8_ItemClick(object sender, ItemClickEventArgs e)
 {
     Waiting.ShowWaitForm();
     if (!Class.App.IsFocusForm(typeof(frmConfig), this))
     {
         Class.S_Log.Insert("Xem Log", "Kết nối chấm công");
         frmConfig frm = new frmConfig();
         frm.MdiParent = this;
         frm.Show();
     }
     Waiting.CloseWaitForm();
 }
Beispiel #2
0
 private void btnCauHinh_ItemClick(object sender, ItemClickEventArgs e)
 {
     try
     {
         frmConfig frm = new frmConfig();
         frm.ShowDialog();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
         Application.Exit();
     }
 }