Пример #1
0
        private void button3_Click(object sender, EventArgs e)
        {
            this.Hide();
            Manager1 m1 = new Manager1();

            m1.ShowDialog();
        }
Пример #2
0
 private void button1_Click(object sender, EventArgs e)
 {
     if (textBox1.Text == "manager" && textBox2.Text == "manager")
     {
         this.Hide();
         Manager1 m1 = new Manager1();
         m1.Show();
     }
     else
     {
         this.Hide();
         name = textBox1.Text;
         Form3 f3 = new Form3();
         f3.ShowDialog();
     }
 }