Ejemplo n.º 1
0
        private void SplashFormTimer_Tick(object sender, EventArgs e)
        {
            /// Instantiate the form
            SharpAutoCenterForm sharpAutoCenterForm = new SharpAutoCenterForm();

            this.SplashFormTimer.Enabled = false;
            sharpAutoCenterForm.Show();
            this.Hide();
        }
Ejemplo n.º 2
0
        public static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            ///initilize SplashForm and SharpAutoCenterForm
            Program.MySplashForm          = new SplashForm();
            Program.MySharpAutoCenterForm = new SharpAutoCenterForm();

            Application.Run(Program.MySplashForm);
        }