Example #1
0
 public void InvDrAppointments()
 {
     Doctor.DrAppointments newDrAppointments = new Doctor.DrAppointments();
     newDrAppointments.MdiParent       = Application.OpenForms["DoctorDash"];
     newDrAppointments.FormBorderStyle = FormBorderStyle.None;
     newDrAppointments.ControlBox      = false;
     newDrAppointments.MaximizeBox     = false;
     newDrAppointments.MinimizeBox     = false;
     newDrAppointments.Dock            = DockStyle.Fill;
     newDrAppointments.Show();
 }