예제 #1
0
 private void WorkerJobStatus_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
 {
     if (camj == null)
     {
         camj             = new CheckAllMyJob((List <EmployeeJobAssign>)e.Result);
         camj.MdiParent   = this;
         camj.FormClosed += camj_FormClosed;
         camj.Show();
         toolStripProgressBar1.Visible = false;
         toolStripStatusLabel1.Text    = "All Job Information Load  Done";
     }
     else
     {
         toolStripProgressBar1.Visible = false;
         toolStripStatusLabel1.Text    = "All Job Information Load  Done";
         camj.Activate();
     }
 }
예제 #2
0
 void camj_FormClosed(object sender, FormClosedEventArgs e)
 {
     camj = null;
 }