public RoutesForm(int number, ArrayList trainRoute, CTC update) { train = number; route = trainRoute; office = update; InitializeComponent(); InitializeRouteList(); this.Text = "Train " + number.ToString(); this.Update(); }
public ScheduleForm(int number, string trainLine, Dictionary <string, double> trainSchedule, CTC update) { train = number; line = trainLine; schedule = trainSchedule; office = update; InitializeComponent(); InitializeScheduleList(); this.Text = "Train " + number.ToString(); this.Update(); }
public TestingForm(CTC update) { InitializeComponent(); CTCOffice = update; initializeInputList(); initializeOutputList(); initializeTrainsAndTrack(); breakSegmentButton.Enabled = false; CTCOffice.DevelopTestSchedule(); }
public TrainDispatch(CTC update) { InitializeComponent(); office = update; }