コード例 #1
0
ファイル: StatisticsData.cs プロジェクト: ChenJingLei/SmartEl
 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
ファイル: StatisticsData.cs プロジェクト: ChenJingLei/SmartEl
 public StatisticsData(List<Classroom> allClassrooms, DevicePage window)
 {
     this.allClassrooms = allClassrooms;
     this.window = window;
 }
コード例 #3
0
ファイル: MenuPage.xaml.cs プロジェクト: ChenJingLei/SmartEl
 private void BtnDevice_Click(object sender, RoutedEventArgs e)
 {
     DevicePage devicePage = new DevicePage(pageFrame, allClassrooms);
     pageFrame.NavigationService.Navigate(devicePage);
 }