Example #1
0
        private void buttonNewVisit_Click(object sender, EventArgs e)
        {
            var newVisit          = new NewVisit();
            var newVisitPresenter = new NewVisitPresenter(newVisit);

            newVisit.ShowDialog();
        }
Example #2
0
        private void buttonNew_Click(object sender, EventArgs e)
        {
            bool isEditView            = true;
            var  newVisitEdit          = new NewVisit(isEditView);
            var  newVisitEditPresenter = new NewVisitEditPresenter(newVisitEdit, (VisitForGrid)gridViewVisits.GetFocusedRow());

            newVisitEdit.Show();
        }
Example #3
0
 private void buttonNewVisit_Click(object sender, EventArgs e)
 {
     var newVisit = new NewVisit();
     var newVisitPresenter = new NewVisitPresenter(newVisit);
     newVisit.ShowDialog();
 }
Example #4
0
 private void buttonNew_Click(object sender, EventArgs e)
 {
     bool isEditView = true;
     var newVisitEdit = new NewVisit(isEditView);
     var newVisitEditPresenter = new NewVisitEditPresenter(newVisitEdit, (VisitForGrid)gridViewVisits.GetFocusedRow());
     newVisitEdit.Show();
 }