Esempio n. 1
0
        private void buttonNew_Click(object sender, EventArgs e)
        {
            NewPatient newPatient          = new NewPatient();
            var        newPatientPresenter = new NewPatientPresenter(newPatient);

            newPatient.ShowDialog();
        }
Esempio n. 2
0
        private void buttonEdit_Click(object sender, EventArgs e)
        {
            bool isEditView              = true;
            var  newPatientEdit          = new NewPatient(isEditView);
            var  newPatientEditPresenter = new NewPatientEditPresenter(newPatientEdit, (DtoPatient)gridView1.GetFocusedRow());

            newPatientEdit.ShowDialog();
        }
Esempio n. 3
0
 private void buttonNew_Click(object sender, EventArgs e)
 {
     NewPatient newPatient = new NewPatient();
     var newPatientPresenter = new NewPatientPresenter(newPatient);
     newPatient.ShowDialog();
 }
Esempio n. 4
0
 private void buttonEdit_Click(object sender, EventArgs e)
 {
     bool isEditView = true;
     var  newPatientEdit = new NewPatient(isEditView);
     var newPatientEditPresenter = new NewPatientEditPresenter(newPatientEdit,(DtoPatient)gridView1.GetFocusedRow());
     newPatientEdit.ShowDialog();
 }