public Thr(Classroom classroom, int num, int isWork, object UI) { Ip = classroom.Ip; port = classroom.Port; this.num = num - 1; window = (PlanPage)UI; name = classroom.Name; modify += window.modifySatus; this.isWork = isWork; }
private void Btnplan_Click(object sender, RoutedEventArgs e) { PlanPage planPage = new PlanPage(pageFrame,allClassrooms); pageFrame.NavigationService.Navigate(planPage); }