コード例 #1
0
 public void initTabsContent()
 {
     tabs.clearAllTabs();
     foreach (StuList stuList in courseRef.allStulist())
     {
         tabs.addNewTab(stuList.name, stuList.UUID);
     }
 }
コード例 #2
0
 private void deleteExtra(string extraUUID)
 {
     Model.Course course = courseRef;
     foreach (StuList stuList in course.allStulist())
     {
         foreach (Student stu in stuList.allStudents())
         {
             stu.removeStuExtra(extraUUID);
         }
     }
     course.removeExtra(extraUUID);
     GlobalStation.shareInstance.librarySave(delegate() {
         mainGrid.Columns.Remove(mainGrid.Columns[extraUUID]);
     }, delegate() {
         GlobalStation.shareInstance.librarysInit();
     });
 }