예제 #1
0
 private void Window_Loaded(object sender, RoutedEventArgs e)
 {
     //string test = pc == null ? "Null" : "Not Null";
     //MessageBox.Show(test);
     pc = RideController.getInstance();
     refreshTable();
 }
예제 #2
0
 private void Window_Loaded(object sender, RoutedEventArgs e)
 {
     rc                  = RideController.getInstance();
     id.Content          = r.ActivityID + "";
     status.Text         = r.Status;
     type.Content        = r.ActivityType;
     nameBox.Text        = r.ActivityName;
     durationBox.Text    = r.ActivityDuration + "";
     descriptionBox.Text = r.ActivityDescription;
     heightBox.Text      = r.MinHeight + "";
     AgeBox.Text         = r.MinAge + "";
     RestrictionBox.Text = r.Restriction;
 }
예제 #3
0
 private void Window_Loaded(object sender, RoutedEventArgs e)
 {
     rc         = RideController.getInstance();
     id.Content = (rc.getLastIndex() + 1) + "";
 }