private void ExecuteEdit(object p) { if (p != null && p is ExamPeriod) { var examPeriod = p as ExamPeriod; AddExamPeriodView view = new AddExamPeriodView(examPeriod); view.ShowDialog(); } }
private void ExecuteOpen() { AddExamPeriodView view = new AddExamPeriodView(); view.ShowDialog(); }