Esempio n. 1
0
 private void SplashScreenForm_Load(object sender, System.EventArgs e)
 {
     _animation = new SplashAnimation();
     _animation.Start(ctlCanvas);
     Size = new Drawing.Size(_animation.Width, _animation.Height);
     CenterToScreen();
     ActiveControl = ctlCanvas;
 }
Esempio n. 2
0
        private void SplashScreenForm_Load(object sender, System.EventArgs e)
        {
            Sketch.DefaultRendererType = typeof(GdiPlusRenderer);

            _animation = new SplashAnimation();
            _animation.Start(ctlCanvas);
            System.Threading.Thread.Sleep(50);
            Size = new Drawing.Size(_animation.Width, _animation.Height);
            CenterToScreen();
            ActiveControl = ctlCanvas;
        }