コード例 #1
0
        static void Main() {
            // Enable the Visual Styles
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            // Because it can take awhile to recieve the data from the server,
            // when creating a gui application - it would be best to get the 
            // user to authenticate themselfs when the application first opens.
            // A good way to do this would be creating a SplashScreen.
            splash = new Forms.SplashScreens.Splashscreen();

            // Wait until the splashscreen has loaded
            splash.Shown += Splash_Shown;
            splash.Show();
            Application.Run();
        }
コード例 #2
0
        static void Main()
        {
            // Enable the Visual Styles
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            // Because it can take awhile to recieve the data from the server,
            // when creating a gui application - it would be best to get the
            // user to authenticate themselfs when the application first opens.
            // A good way to do this would be creating a SplashScreen.
            splash = new Forms.SplashScreens.Splashscreen();

            // Wait until the splashscreen has loaded
            splash.Shown += Splash_Shown;
            splash.Show();
            Application.Run();
        }