예제 #1
0
        public frmMain()
        {
            InitializeComponent();

            airPort = AirPortClass.GetInstance();
            gateA   = AirPortClass.GetInstance().gates[0];
            gateB   = AirPortClass.GetInstance().gates[1];
            gateC   = AirPortClass.GetInstance().gates[2];

            timerCountDown.Start();
        }
예제 #2
0
        public frm()
        {
            InitializeComponent();

            airPort = AirPortClass.GetInstance();
            gateA   = AirPortClass.GetInstance().gates[0];
            gateB   = AirPortClass.GetInstance().gates[1];
            gateC   = AirPortClass.GetInstance().gates[2];


            runtime          = new Timer();
            runtime.Interval = 1000;
            runtime.Tick    += Runtime_Tick;

            looptime          = new Timer();
            looptime.Interval = Constand.LOOP_TIME;
            looptime.Tick    += Looptime_Tick;
        }