Пример #1
0
 public RegistratiFormPresenter(RegistratiForm registratiForm, LoginForm loginForm)
 {
     _registratiForm = registratiForm;
     _loginForm      = loginForm;
     _foto           = null;
     InitializeEvents();
 }
        private void RegistratiButton_Click(object sender, EventArgs e)
        {
            RegistratiForm registratiForm = new RegistratiForm();

            new RegistratiFormPresenter(registratiForm, LoginForm);
            LoginForm.Hide();
            registratiForm.Show();
        }
Пример #3
0
 private void AnnullaButton_Click(object sender, EventArgs e)
 {
     RegistratiForm.Close();
 }