Ejemplo n.º 1
0
        private void WorkerBankAccount_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
        {

            if (cabmi == null)
            {
                cabmi = new CheckAllBankMoneyInformation((List<BankAccount>)e.Result);
                cabmi.MdiParent = this;
                cabmi.FormClosed += cabmi_FormClosed;
                cabmi.Show();
                toolStripProgressBar1.Visible = false;
                toolStripStatusLabel1.Text = "All BankAccount Information Load Done";
            }
            else
            {
                toolStripProgressBar1.Visible = false;
                toolStripStatusLabel1.Text = "All BankAccount Information Load Done";
                cabmi.Activate();
            }
        }
Ejemplo n.º 2
0
 void cabmi_FormClosed(object sender, FormClosedEventArgs e)
 {
     cabmi = null;
 }