Пример #1
0
        private void pictureBox4_Click(object sender, EventArgs e)
        {
            ButtonForm buttonForm = new ButtonForm
            {
                StartPosition = FormStartPosition.Manual,
                Location      = new Point(Location.X, Location.Y)
            };

            buttonForm.Show();
            Hide();
        }
Пример #2
0
 private void pictureBox1_Click(object sender, EventArgs e)
 {
     Close();
     ButtonForm buttonForm = new ButtonForm();
 }