Пример #1
0
        private void button1_Click_1(object sender, EventArgs e)
        {
            FormMenu form = new FormMenu();

            this.Hide();
            form.ShowDialog();
        }
Пример #2
0
        private void button1_Click(object sender, EventArgs e)
        {
            FormMenu menu = new FormMenu();

            this.Hide();
            menu.ShowDialog();
        }