예제 #1
0
 private void reportsToolStripMenuItem_Click(object sender, EventArgs e)
 {
     Doctor.DrReports newDrReports = new Doctor.DrReports();
     newDrReports.MdiParent       = this;
     newDrReports.FormBorderStyle = FormBorderStyle.None;
     newDrReports.ControlBox      = false;
     newDrReports.MaximizeBox     = false;
     newDrReports.MinimizeBox     = false;
     newDrReports.Dock            = DockStyle.Fill;
     newDrReports.Show();
 }
예제 #2
0
 public void InvDrReports()
 {
     Doctor.DrReports newDrReports = new Doctor.DrReports();
     newDrReports.MdiParent       = Application.OpenForms["DoctorDash"];
     newDrReports.FormBorderStyle = FormBorderStyle.None;
     newDrReports.ControlBox      = false;
     newDrReports.MaximizeBox     = false;
     newDrReports.MinimizeBox     = false;
     newDrReports.Dock            = DockStyle.Fill;
     newDrReports.Show();
 }