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(); }
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; }