Пример #1
0
        private void panel2_Click(object sender, EventArgs e)
        {
            profile pro = new profile();

            pro.MdiParent = MdiParent;
            pro.Show();
        }
Пример #2
0
        private void profleToolStripMenuItem_Click(object sender, EventArgs e)
        {
            profile pro = new profile();

            pro.MdiParent     = this;
            pro.StartPosition = FormStartPosition.CenterScreen;
            pro.Show();
        }