Beispiel #1
0
 void caaj_FormClosed(object sender, FormClosedEventArgs e)
 {
     caaj = null;
 }
Beispiel #2
0
        private void WorkerAssignJob_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
        {
            //List<EmployeeJobAssign> dataReceived = (List<EmployeeJobAssign>) e.Result;

            if (caaj == null)
            {
                caaj = new CheckAllAssignJob((List<EmployeeJobAssign>)e.Result);
                caaj.MdiParent = this;
                caaj.FormClosed += caaj_FormClosed;
                caaj.Show();
                toolStripProgressBar1.Visible = false;
                toolStripStatusLabel1.Text = "All Assign Job Information Load Done";
            }
            else
            {
                toolStripProgressBar1.Visible = false;
                toolStripStatusLabel1.Text = "All Assign Job Information Load Done";
                caaj.Activate();
            }
        }