mirror of
https://github.com/mRemoteNG/mRemoteNG.git
synced 2026-02-17 22:11:48 +08:00
Splash screen shown on startup and hiding after completion of the load method of the main form
This commit is contained in:
@@ -27,6 +27,8 @@ namespace mRemoteNG.App
|
||||
CatchAllUnhandledExceptions();
|
||||
Application.EnableVisualStyles();
|
||||
Application.SetCompatibleTextRenderingDefault(false);
|
||||
FrmSplashScreen frmSplashScreen = FrmSplashScreen.getInstance();
|
||||
frmSplashScreen.Show();
|
||||
Application.Run(FrmMain.Default);
|
||||
}
|
||||
|
||||
|
||||
@@ -189,6 +189,9 @@ namespace mRemoteNG.UI.Forms
|
||||
if (!panelAdder.DoesPanelExist(panelName))
|
||||
panelAdder.AddPanel(panelName);
|
||||
}
|
||||
|
||||
FrmSplashScreen frmSplashScreen = FrmSplashScreen.getInstance();
|
||||
frmSplashScreen.Close();
|
||||
}
|
||||
|
||||
private void ApplyLanguage()
|
||||
|
||||
Reference in New Issue
Block a user