Exemple #1
0
        public void InvDrProfile()
        {
            DrProfile newDrProfile = new DrProfile();

            newDrProfile.StartPosition   = FormStartPosition.CenterScreen;
            newDrProfile.MaximizeBox     = false;
            newDrProfile.MinimizeBox     = false;
            newDrProfile.FormBorderStyle = FormBorderStyle.FixedSingle;
            newDrProfile.Visible         = false;
            newDrProfile.ShowDialog();
        }
Exemple #2
0
        private void viewProfileToolStripMenuItem_Click(object sender, EventArgs e)
        {
            DrProfile newDrProfile = new DrProfile();

            // Display the new form.
            newDrProfile.StartPosition   = FormStartPosition.CenterScreen;
            newDrProfile.MaximizeBox     = false;
            newDrProfile.MinimizeBox     = false;
            newDrProfile.FormBorderStyle = FormBorderStyle.Fixed3D;
            newDrProfile.Visible         = false;
            newDrProfile.BackColor       = Color.AliceBlue;
            newDrProfile.ShowDialog();
        }