Exemplo n.º 1
0
 private void InitializeTimetable()
 {
     mTb = new ModelTimetable();
     mTb.ReadTimetable(dateTimePicker1.Value, mCategory);
     tn      = new TreeNode(mTb.Timetable.Print());
     tn.Name = mTb.Timetable.Name;
     foreach (var itr in mTb.Timetable.Subs)
     {
         LoadTimetableItemSubs(itr, tn);
     }
     treeView1.Nodes.Clear();
     treeView1.Nodes.Add(tn);
     treeView1.ExpandAll();
 }
Exemplo n.º 2
0
 private void InitializeTimetable()
 {
     mTb = new ModelTimetable();
 }