Exemplo n.º 1
0
 static void Main()
 {
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     Enter.ShowSplashScreen();
     Thread.Sleep(1000);
     if (Enter.Instance != null)
     {
         Enter.Instance.BeginInvoke(new MethodInvoker(Enter.Instance.Dispose));
         Enter.Instance = null;
     }
     Application.Run(new Admin());
 }
Exemplo n.º 2
0
 public static void ShowSplashScreen()
 {
     instance = new Enter();
     instance.Show();
 }