Exemplo n.º 1
0
        public Controller()
        {
            InitializeComponent();
            //this.timer1.Interval = 1000 * 180;

            controllerApi = new ControllerAPI();

            splash = new SplashScreen();
            splash.Show();

            splash.progressValue = 15;
            splash.infoText      = "Build the user interface...";

            temperatureInfo = new AirportDetailInfo("Temperature");

            windInfo = new AirportDetailInfo("Wind");

            conditionInfo = new AirportDetailInfo("Condition");

            arrivalsInfo = new AirplaneList("ARRIVALS");

            departuresInfo = new AirplaneList("DEPARTURES");

            t = new Thread(new ThreadStart(startWidgets));
            t.Start();
        }