Exemplo n.º 1
0
 public static void ShowSplash(StartupStage stage)
 {
     thread = new Thread(StartupForm.Instance.ShowSplashScreen)
     {
         IsBackground   = true,
         ApartmentState = ApartmentState.STA
     };
     thread.SetApartmentState(ApartmentState.STA);
     thread.Start();
     UpdateState(stage);
 }
Exemplo n.º 2
0
        public void SetStatus(StartupStage stage)
        {
            var text = EnumFriendlyName <StartupStage> .GetString(stage);

            SetStatusSafe(text, true);
        }
Exemplo n.º 3
0
 public static void UpdateState(StartupStage stage)
 {
     StartupForm.Instance.SetStatus(stage);
 }
Exemplo n.º 4
0
 public void SetStatus(StartupStage stage)
 {
     var text = EnumFriendlyName<StartupStage>.GetString(stage);
     SetStatusSafe(text, true);
 }
Exemplo n.º 5
0
 public static void UpdateState(StartupStage stage)
 {
     StartupForm.Instance.SetStatus(stage);
 }
Exemplo n.º 6
0
 public static void ShowSplash(StartupStage stage)
 {
     thread = new Thread(StartupForm.Instance.ShowSplashScreen)
                  {
                      IsBackground = true,
                      ApartmentState = ApartmentState.STA
                  };
     thread.SetApartmentState(ApartmentState.STA);
     thread.Start();
     UpdateState(stage);
 }