private void FormMain_Shown(object sender, EventArgs e) { FormSplash WindowSplash = new FormSplash(); WindowSplash.ShowDialog(); FillAllProfilesPaths(); }
private void FormMain_Shown(object sender, EventArgs e) { if (Properties.Settings.Default.ShowSplashOnStartup || Properties.Settings.Default.CheckUpdatesOnStartup) { FormSplash WindowSplash = new FormSplash(); WindowSplash.ShowDialog(); } FillAllProfilesPaths(); }
private void FormMain_Shown(object sender, EventArgs e) { LogWriter("Opening form..."); try { if (Properties.Settings.Default.ShowSplashOnStartup || Properties.Settings.Default.CheckUpdatesOnStartup) { LogWriter("Done."); FormSplash WindowSplash = new FormSplash(); WindowSplash.ShowDialog(); } } catch { LogWriter("Done. Settings error."); FormSplash WindowSplash = new FormSplash(); WindowSplash.ShowDialog(); } }