Exemplo n.º 1
0
        static void Main()
        {
            xFonts = new Fonts(); // Whohoo!
            xFonts.SetupFonts();  // Get the fonts up and running!

            Application.SetCompatibleTextRenderingDefault(false);
            SplashLoader.ShowSplashScreen(); // Run the method to display the splash screen.

            /// Enable for BIGUI
            //xMainWindow = new MainForm(); // Loading occurs here in the background.
            xSmallMainWindow = new MainFormSmall(); // Loading occurs here in the BG.

            Thread.Sleep(1000);
            // Sleep the thread for 1000ms, this MUST equal at least the animation speed of the circular progressbar(500ms), else you'd risk
            // exception as a form closes and the animation library attempts to change the visual value for the circle.
            SplashLoader.CloseForm();
            Application.Run(xSmallMainWindow);
        }
Exemplo n.º 2
0
        /*
         * public void SetupMainWindow(MainForm xMainWindow)
         * {
         *  xMainWindow.lbl_ActionBar_BottomRight.Font = RobotoCondensed;                                                    // Set the font of the ActionBar/Toolstrip bottom right label to the Roboto Condensed font.
         * }
         */

        public void SetupMainWindow(MainFormSmall xMainWindow)
        {
            xMainWindow.lbl_ActionBar_BottomRight.Font = RobotoCondensed;                                                    // Set the font of the ActionBar/Toolstrip bottom right label to the Roboto Condensed font.
        }