private void button3_Click(object sender, EventArgs e)
        {
            DomitoryMain domitory = new DomitoryMain();

            domitory.StartPosition = FormStartPosition.CenterScreen;
            domitory.Show();
        }
Beispiel #2
0
        private void Domitory_Click(object sender, EventArgs e)
        {
            DomitoryMain domitory = new DomitoryMain();

            domitory.MdiParent     = this;
            domitory.StartPosition = FormStartPosition.CenterScreen;

            Init();
            form = domitory;
            domitory.Show();
        }
Beispiel #3
0
        private void Domitory_Click(object sender, EventArgs e)
        {
            DomitoryMain domitory = new DomitoryMain();

            domitory.MdiParent     = this;
            domitory.StartPosition = FormStartPosition.CenterScreen;
            domitory.MaximizeBox   = false;
            domitory.Dock          = DockStyle.Fill;
            Init();
            form = domitory;
            domitory.Show();
        }