Пример #1
0
        private void pictureBox3_Click(object sender, EventArgs e)
        {
            ChangeModeForm pr = new ChangeModeForm();

            if (pr == null)
            {
                pr.Parent = this;
            }
            pr.Show();
            this.Hide();
        }
Пример #2
0
        private void button1_Click(object sender, EventArgs e)
        {
            ChangeModeForm ch = new ChangeModeForm();

            if (ch == null)
            {
                ch.Parent = this;
            }
            this.Hide();
            ch.Show();
        }