Exemple #1
0
        private void btnSave_Click(object sender, EventArgs e)
        {
            this.Hide();
            RegistrationUser registrationUser = new RegistrationUser();

            registrationUser.Show();
        }
 private void button2_Click(object sender, EventArgs e)
 {
     this.Hide();
     if (btnSave.Text == "Обновлять")
     {
         return;
     }
     else
     {
         RegistrationUser registration = new RegistrationUser();
         registration.Show();
     }
 }