Example #1
0
 private void MT_trandepo_Click(object sender, EventArgs e)
 {
     if (td == null)
     {
         td             = new Transaction_Deposit();
         td.MdiParent   = this;
         td.FormClosed += new FormClosedEventHandler(Td_FormClosed);
         td.Show();
     }
     else
     {
         td.Activate();
     }
 }
Example #2
0
 private void Td_FormClosed(object sender, FormClosedEventArgs e)
 {
     td = null;
 }