Exemple #1
0
        private void CommentoButton_Click(object sender, EventArgs e)
        {
            CommentoForm commentoForm = new CommentoForm();

            new CommentoFormPresenter(commentoForm, Spesa, Utente);
            commentoForm.ShowDialog();
        }
 public CommentoFormPresenter(CommentoForm commentoForm, Spesa spesa, Utente utente)
 {
     _commentoForm = commentoForm;
     _spesa        = spesa;
     _utente       = utente;
     InitializeEvents();
     AggiornaUI();
 }