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(); }
private void AnnullaButton_Click(object sender, EventArgs e) { RegistratiForm.Close(); }