示例#1
0
 void cae_FormClosed(object sender, FormClosedEventArgs e)
 {
     cae = null;
 }
示例#2
0
        private void WorkerEmployee_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
        {
            

            if (cae == null)
            {
                cae = new CheckAllEmployee(e.Result);
                cae.MdiParent = this;
                cae.FormClosed += cae_FormClosed;
                cae.Show();
                toolStripProgressBar1.Visible = false;
                toolStripStatusLabel1.Text = "All Employee Information Load  Done";
            }
            else
            {
                toolStripProgressBar1.Visible = false;
                toolStripStatusLabel1.Text = "All Employee Information Load  Done";
                cae.Activate();
            }
        }