public RoutesForm(int number, ArrayList trainRoute, CTC update)
        {
            train  = number;
            route  = trainRoute;
            office = update;

            InitializeComponent();
            InitializeRouteList();

            this.Text = "Train " + number.ToString();
            this.Update();
        }
Exemple #2
0
        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();
        }
Exemple #4
0
 public TrainDispatch(CTC update)
 {
     InitializeComponent();
     office = update;
 }