示例#1
0
        private void WorkerAdmin_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
        {
            //List<Admin> dataReceived = (List<Admin>) e.Result;

            if (caa == null)
            {
                caa             = new CheckAllAdmin(e.Result);
                caa.MdiParent   = this;
                caa.FormClosed += caa_FormClosed;
                caa.Show();
                toolStripProgressBar1.Visible = false;
                toolStripStatusLabel1.Text    = "All Admin Information Load  Done";
            }
            else
            {
                toolStripProgressBar1.Visible = false;
                toolStripStatusLabel1.Text    = "All Admin Information Load  Done";
                caa.Activate();
            }
        }
示例#2
0
 void caa_FormClosed(object sender, FormClosedEventArgs e)
 {
     caa = null;
 }
示例#3
0
        private void WorkerAdmin_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
        {
            //List<Admin> dataReceived = (List<Admin>) e.Result;

            if (caa == null)
            {

                caa = new CheckAllAdmin(e.Result);
                caa.MdiParent = this;
                caa.FormClosed += caa_FormClosed;
                caa.Show();
                toolStripProgressBar1.Visible = false;
                toolStripStatusLabel1.Text = "All Admin Information Load  Done";
               
            }
            else
            {
                toolStripProgressBar1.Visible = false;
                toolStripStatusLabel1.Text = "All Admin Information Load  Done";
                caa.Activate();
            }
        }
示例#4
0
 void caa_FormClosed(object sender, FormClosedEventArgs e)
 {
     caa = null;
 }