Exemple #1
0
 private void Initialize()
 {
     this.Lesson       = _lessonModel.SelectedLesson;
     this.LessonDetail = _lessonModel.LessonDetail;
     this.sortOrder    = G__SortOrder.Descending;
     //this.sortOrder = G__SortOrder.Ascending;
     this.bOverIndex = false;
     this.OrderLessons(this.sortOrder);
     this.LoadAllLessonDetailSets();
 }
Exemple #2
0
 public void OrderLessons(G__SortOrder _order)
 {
     if (_order == G__SortOrder.Ascending)
     {
         this.OrderBy(d => d);
     }
     else
     {
         this.OrderByDescending(d => d);
     }
 }