Exemple #1
0
 public fmMain(fmSplash screenform)
 {
     InitializeComponent();
     AnT.InitializeContexts(); // ініціалізація элемента SimpleOpenGLControl
     screenform.Hide();
     screenform.Dispose();
 }
Exemple #2
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            fmSplash SplashScreen = new fmSplash();

            SplashScreen.Show();
            while (SplashScreen.tmSplash.Enabled)
            {
                Application.DoEvents();
            }
            Application.Run(new fmMain(SplashScreen));
        }