void save(object obj)
        {
            SystemCourseWindow window = obj as SystemCourseWindow;

            window.Courses      = this.SystemCourses.Where(sc => sc.IsChecked)?.ToList();
            window.DialogResult = true;
        }
Beispiel #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.win = ((OSKernel.Presentation.Arranging.Administrative.Dialog.SystemCourseWindow)(target));
         return;
     }
     this._contentLoaded = true;
 }
        void cancel(object obj)
        {
            SystemCourseWindow window = obj as SystemCourseWindow;

            window.DialogResult = false;
        }