// Открытие формы регистрации private void Registration_But_Click(object sender, EventArgs e) { Registration RegForm = new Registration(); this.Hide(); RegForm.ShowDialog(); }