예제 #1
0
 public ProfiloFormPresenter(ProfiloForm profiloForm, Utente utente)
 {
     _profiloForm = profiloForm;
     _utente      = utente;
     InitializeEvents();
     InitializeUI();
 }
        private void AccountToolStrip_Click(object sender, EventArgs e)
        {
            ProfiloForm          profiloForm          = new ProfiloForm();
            ProfiloFormPresenter profiloFormPresenter = new ProfiloFormPresenter(profiloForm, Utente);

            profiloFormPresenter.Attach(this);
            profiloForm.ShowDialog();
        }