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); }
public void SetStatus(StartupStage stage) { var text = EnumFriendlyName <StartupStage> .GetString(stage); SetStatusSafe(text, true); }
public static void UpdateState(StartupStage stage) { StartupForm.Instance.SetStatus(stage); }
public void SetStatus(StartupStage stage) { var text = EnumFriendlyName<StartupStage>.GetString(stage); SetStatusSafe(text, true); }
public static void UpdateState(StartupStage stage) { StartupForm.Instance.SetStatus(stage); }
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); }