Ejemplo n.º 1
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            DevExpress.UserSkins.BonusSkins.Register();
            DevExpress.LookAndFeel.UserLookAndFeel.Default.SetSkinStyle(GLOB.Settings.Get <string>(2));

            GLOB.ConfigureMap();

            if (Updater.CheckVersion())
            {
                Updater.UpdateApplication();
            }

            if (XF_Login.ShowWindow() == DialogResult.Yes)
            {
                var dispManager = DispatchManager.CreateEmpty();
                Application.Run(new XF_Dispatches(dispManager));
            }

            //XF_TestForm.ShowWindow();
        }