예제 #1
0
        public RoutesForm(int number, ArrayList trainRoute, CTC update)
        {
            train  = number;
            route  = trainRoute;
            office = update;

            InitializeComponent();
            InitializeRouteList();

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