public static void Main(string[] args) { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); FrmSplash.Executar(2000); Application.Run(new Principal()); }
public static void Executar(int Tempo) { if (instancia == null) { instancia = new FrmSplash(); } instancia.progresso = 0; instancia.timer1.Interval = Tempo / 100; instancia.timer1.Enabled = true; instancia.ShowDialog(); }