示例#1
0
 private void tsmi_Card_Click(object sender, EventArgs e)
 {
     if (objFrmAttendance == null)
     {
         objFrmAttendance = new FrmAttendance();
         objFrmAttendance.Show();
     }
     else
     {
         objFrmAttendance.Activate();
         objFrmAttendance.WindowState = FormWindowState.Normal;
     }
 }
示例#2
0
 private void Tsmi_Card_Click(object sender, EventArgs e)
 {
     if (frmAttendance == null)
     {
         frmAttendance = new FrmAttendance();
         frmAttendance.ShowDialog();
     }
     else
     {
         frmAttendance.Activate();
         frmAttendance.WindowState = FormWindowState.Normal;
     }
 }