public static void StartLoading() { if ((bool)SEBClientInfo.getSebSetting("createNewDesktop")["createNewDesktop"] || SEBClientInfo.CreateNewDesktopOldValue) { SEBDesktopController.SetCurrent(SEBClientInfo.SEBNewlDesktop); } else { SEBDesktopController.SetCurrent(SEBClientInfo.OriginalDesktop); } SEBLoading.loading = new SEBLoading(); Application.Run((Form)SEBLoading.loading); }
/// <summary> /// Call via separate thread /// var thread = new Thread(SEBLoading.StartLoading); /// thread.Start(); /// </summary> static public void StartLoading() { //Set the threads desktop to the new desktop if "Create new Desktop" is activated //Set the threads desktop to the new desktop if "Create new Desktop" is activated if ((Boolean)SEBClientInfo.getSebSetting(SEBSettings.KeyCreateNewDesktop)[SEBSettings.KeyCreateNewDesktop] || SEBClientInfo.CreateNewDesktopOldValue) SEBDesktopController.SetCurrent(SEBClientInfo.SEBNewlDesktop); else SEBDesktopController.SetCurrent(SEBClientInfo.OriginalDesktop); // Instance a loading screen form given the image names loading = new SEBLoading(); // Run the form Application.Run(loading); }
/// <summary> /// Call via separate thread /// var thread = new Thread(SEBLoading.StartLoading); /// thread.Start(); /// </summary> static public void StartLoading() { // Set the threads desktop to the new desktop if "Create new Desktop" is activated if ((Boolean)SEBClientInfo.getSebSetting(SEBSettings.KeyCreateNewDesktop)[SEBSettings.KeyCreateNewDesktop] || SEBClientInfo.CreateNewDesktopOldValue) { SEBDesktopController.SetCurrent(SEBClientInfo.SEBNewlDesktop); } else { SEBDesktopController.SetCurrent(SEBClientInfo.OriginalDesktop); } // Instance a loading screen form given the image names loading = new SEBLoading(); // Run the form Application.Run(loading); }
/// <summary> /// Call via separate thread /// var thread = new Thread(SEBLoading.StartLoading); /// thread.Start(); /// </summary> public static void StartLoading() { SEBDesktopController.SetCurrent(SEBClientInfo.OriginalDesktop); // Set the threads desktop to the new desktop if "Create new Desktop" is activated if ((Boolean)SEBClientInfo.getSebSetting(SEBSettings.KeyCreateNewDesktop)[SEBSettings.KeyCreateNewDesktop] || SEBClientInfo.CreateNewDesktopOldValue) { SEBDesktopController.SetCurrent(SEBClientInfo.SEBNewlDesktop); } else { SEBDesktopController.SetCurrent(SEBClientInfo.OriginalDesktop); } loading = new SEBLoading(); loading.ShowDialog(); }