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