コード例 #1
0
        private void FormMain_Shown(object sender, EventArgs e)
        {
            FormSplash WindowSplash = new FormSplash();

            WindowSplash.ShowDialog();

            FillAllProfilesPaths();
        }
コード例 #2
0
 private void FormMain_Shown(object sender, EventArgs e)
 {
     if (Properties.Settings.Default.ShowSplashOnStartup || Properties.Settings.Default.CheckUpdatesOnStartup)
     {
         FormSplash WindowSplash = new FormSplash();
         WindowSplash.ShowDialog();
     }
     FillAllProfilesPaths();
 }
コード例 #3
0
 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();
     }
 }