Пример #1
0
 private void button1_Click(object sender, EventArgs e)
 {
     Form1 f = new Form1();
     f.Close();
     this.Close();
     Register r = new Register();
     r.Show();
 }
Пример #2
0
 private void button2_Click_1(object sender, EventArgs e)
 {
     this.Hide();
     Register r = new Register();
     r.Show();
 }