Ejemplo n.º 1
0
 private void paymentsToolStripMenuItem_Click(object sender, EventArgs e)
 {
     Doctor.DrPayment newdrPayment = new Doctor.DrPayment();
     newdrPayment.MdiParent       = this;
     newdrPayment.FormBorderStyle = FormBorderStyle.None;
     newdrPayment.ControlBox      = false;
     newdrPayment.MaximizeBox     = false;
     newdrPayment.MinimizeBox     = false;
     newdrPayment.Dock            = DockStyle.Fill;
     newdrPayment.Show();
 }
Ejemplo n.º 2
0
 public void InvDrPayment()
 {
     Doctor.DrPayment newdrPayment = new Doctor.DrPayment();
     newdrPayment.MdiParent       = Application.OpenForms["DoctorDash"];
     newdrPayment.FormBorderStyle = FormBorderStyle.None;
     newdrPayment.ControlBox      = false;
     newdrPayment.MaximizeBox     = false;
     newdrPayment.MinimizeBox     = false;
     newdrPayment.Dock            = DockStyle.Fill;
     newdrPayment.Show();
 }