Beispiel #1
0
 /// <summary>
 /// Closes the SplashScreen
 /// </summary>
 public static void CloseSplashScreen()
 {
     if (sf != null)
     {
         sf.CloseSplashScreen();
         sf = null;
     }
 }
Beispiel #2
0
 /// <summary>
 /// Displays the splashscreen
 /// </summary>
 public static void ShowSplashScreen()
 {
     if (sf == null)
     {
         sf = new SplashScreenForm();
         sf.ShowSplashScreen();
     }
 }
Beispiel #3
0
 /// <summary>
 /// Closes the SplashScreen
 /// </summary>
 public static void CloseSplashScreen()
 {
     if (sf != null)
     {
         sf.CloseSplashScreen();
         sf = null;
     }
 }
Beispiel #4
0
 /// <summary>
 /// Displays the splashscreen
 /// </summary>
 public static void ShowSplashScreen()
 {
     if (sf == null)
     {
         sf = new SplashScreenForm();
         sf.ShowSplashScreen();
     }
 }
Beispiel #5
0
        private void Form1_Load(object sender, EventArgs e)
        {
            #region Splash Screen Load
            lblCountdown.Text = "";
            //toolStrip1.Renderer = new ToolStripRenderPro();
            //toolStrip2.Renderer = new ToolStripRenderPro();
            //toolStrip3.Renderer = new ToolStripRenderPro();
            //toolStrip4.Renderer = new ToolStripRenderPro();
            var sf = new SplashScreenForm(); // Splash Screen
            SplashScreen.UdpateStatusText("Loading Items...");
            SplashScreen.UdpateStatusTextWithStatus("Loading Defaults", TypeOfMessage.Success);
            SplashScreen.UdpateStatusText("Complete");

            txtVersion.Text = @"v " + "3.4.2.0";
            SetBindings();
            //lblTime.DataBindings.Add(new Binding("Text", AppSettings.Instance.CurrentAuction, "EndDate", false, DataSourceUpdateMode.OnPropertyChanged));

            Show();
            SplashScreen.CloseSplashScreen();
            Activate();

            #endregion
        }