Ejemplo n.º 1
0
        private void ExecuteEdit(object p)
        {
            if (p != null && p is Exam)
            {
                var exam = p as Exam;

                AddExamView view = new AddExamView(exam);
                view.ShowDialog();
            }
        }
Ejemplo n.º 2
0
        private void AddExam(object property)
        {
            AddExamView window = new AddExamView((Student)property);

            window.ShowDialog();
        }
Ejemplo n.º 3
0
        private void ExecuteOpen()
        {
            AddExamView view = new AddExamView();

            view.ShowDialog();
        }