예제 #1
0
 public ListEl(/*MainWindow mainWindow,*/ double listBoxWidth, int amountOfTopics, DateTime deadline, string subjectName, int numberOfDoneTopics)
 {
     //parent = mainWindow;
     Data = new ListElData(deadline, amountOfTopics, numberOfDoneTopics, subjectName)
     {
         deadline           = deadline,
         subjectName        = subjectName,
         amountOfTopics     = amountOfTopics,
         numberOfDoneTopics = numberOfDoneTopics
     };
     Initialize(listBoxWidth);
 }
예제 #2
0
 public ListEl(/*MainWindow mainWindow,*/ double listBoxWidth, ListElData data)
 {
     //parent = mainWindow;
     Data = data;
     Initialize(listBoxWidth);
 }