コード例 #1
0
        public Dashboard()
        {
            InitializeComponent();

            lblWelcome.Text = String.Format("Have a nice {0}, {1} {2} {3}", DateTime.UtcNow.DayOfWeek.ToString(), a.Rank, a.UserName, a.UserSurname);

            VerifyAndDeleteFlight.Start();

            AssignFlight.VerifyFlightTimeOut();

            flightAssignmentCtrl.Actions();

            flightAssignmentCtrl.flightAssignedCtrl.UpdateInfos();

            myLogBookCtrl.GetLogBook();

            AlertFlight();
        }
コード例 #2
0
        public Dashboard()
        {
            InitializeComponent();

            CreateNotifyicon();

            Clock.Start();

            lblWelcome.Text = String.Format("Have a nice {0}, {1} {2} {3}", DateTime.UtcNow.DayOfWeek.ToString(), a.Rank, a.UserName, a.UserSurname);

            VerifyAndDeleteFlight.Start();

            f.VerifyFlightTimeOut();

            flightAssignmentCtrl.Actions();

            flightAssignmentCtrl.flightAssignedCtrl.UpdateInfos();

            myLogBookCtrl.GetLogBook();

            AlertFlight();

            if (a.LevelID <= 2)
            {
                btnAdminCenterFrm.Visible = true;
            }

            PilotCarrerTick.Start();
            liveVAMap.GetMapAircrafts();

            LiveMapTick.Start();

            notifyIcon1.Visible = false;

            UpdateTyperatingAndQualificationsDate();

            CurrentLocation = a.Location;
        }