Пример #1
0
        private void createClassToolStripMenuItem_Click(object sender, EventArgs e)
        {
            //frmClassCreation objfrmClassCreation = new frmClassCreation();
            //objfrmClassCreation.MdiParent= this;
            //objfrmClassCreation.Show();
            CloseAllAciveForms();
            frmClassCreation objfrmClassCreation = new frmClassCreation();

            objfrmClassCreation.TopLevel = false;
            plSettingsMenu.Controls.Add(objfrmClassCreation);
            objfrmClassCreation.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
            objfrmClassCreation.Dock            = DockStyle.Fill;
            //splitContainer2.Panel2.Controls.Add(objAddNewUser);
            //objAddNewUser.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
            //objAddNewUser.Dock = DockStyle.Fill;

            objfrmClassCreation.Show();
            //objAddNewUser.Show();
        }
Пример #2
0
        private void button3_Click(object sender, EventArgs e)
        {
            frmClassCreation objfrmClassCreation = new frmClassCreation();

            objfrmClassCreation.Show();
        }