Esempio n. 1
0
        void OnOpenLesson(object o, System.EventArgs args)
        {
            var args2  = (OpenLessonEventArgs)args;
            var lesson = args2.Node;
            var view   = new LessonView(lesson);

            view.ShowAll();
            view.closeEvent += OnCloseLesson;
            ShowAll();

            placeholderwidget1.Current = view;
            StatusBarText = "In Lesson '" + lesson.Description + "'";
            WindowTitle   = lesson.Description;
        }
Esempio n. 2
0
        void OnOpenLesson(object o, System.EventArgs args)
        {
            var args2 = (OpenLessonEventArgs)args;
            var lesson = args2.Node;
            var view = new LessonView (lesson);
            view.ShowAll ();
            view.closeEvent += OnCloseLesson;
            ShowAll ();

            placeholderwidget1.Current = view;
            StatusBarText = "In Lesson '" + lesson.Description + "'";
            WindowTitle = lesson.Description;
        }