Beispiel #1
0
        private void button2_Click(object sender, EventArgs e)
        {
            Close();

            Home a = new Home();
            a.Show();
        }
Beispiel #2
0
 private void button1_Click(object sender, EventArgs e)
 {
     if (textBox1.Text == "Admin" && textBox2.Text == "Admin")
     {
         Home a=new Home();
         a.Show();
         this.Hide();
     }
 }