示例#1
0
 public void InvDrAbout()
 {
     Doctor.DrAbout newDrAbout = new Doctor.DrAbout();
     newDrAbout.StartPosition   = FormStartPosition.CenterScreen;
     newDrAbout.Visible         = false;
     newDrAbout.MaximizeBox     = false;
     newDrAbout.MinimizeBox     = false;
     newDrAbout.FormBorderStyle = FormBorderStyle.None;
     //show form as modal
     newDrAbout.ShowDialog();
 }
示例#2
0
 private void aboutToolStripMenuItem_Click(object sender, EventArgs e)
 {
     Doctor.DrAbout newDrAbout = new Doctor.DrAbout();
     newDrAbout.StartPosition   = FormStartPosition.CenterScreen;
     newDrAbout.Visible         = false;
     newDrAbout.MaximizeBox     = false;
     newDrAbout.MinimizeBox     = false;
     newDrAbout.FormBorderStyle = FormBorderStyle.None;
     newDrAbout.BackColor       = Color.AliceBlue;
     //show form as modal
     newDrAbout.ShowDialog();
 }