예제 #1
0
 public Thr(Classroom classroom, DevicePage UI)
 {
     Ip = classroom.Ip;
     port = classroom.Port;
     window = UI;
     id = classroom.Id;
     repository = new StatisticsRepository();
     name = classroom.Name;
 }
예제 #2
0
 public StatisticsData(List<Classroom> allClassrooms, DevicePage window)
 {
     this.allClassrooms = allClassrooms;
     this.window = window;
 }
예제 #3
0
 private void BtnDevice_Click(object sender, RoutedEventArgs e)
 {
     DevicePage devicePage = new DevicePage(pageFrame, allClassrooms);
     pageFrame.NavigationService.Navigate(devicePage);
 }