Exemplo n.º 1
0
 private void tsPatientBill_Click(object sender, EventArgs e)
 {
     if (bill == null)
     {
         bill             = new frmPatientBills();
         bill.MdiParent   = this;
         bill.FormClosed += new FormClosedEventHandler(bill_FormClosed);
         bill.Show();
     }
     else
     {
         bill.Activate();
         bill.WindowState = FormWindowState.Normal;
     }
 }
Exemplo n.º 2
0
 void bill_FormClosed(object sender, FormClosedEventArgs e)
 {
     bill = null;
 }