Ejemplo n.º 1
0
        public static DialogResult ShowWindow()
        {
            var manager = UserManager.Create();

            using (XF_Login login = new XF_Login(manager))
                return(login.ShowDialog());
        }
Ejemplo n.º 2
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();
        }
Ejemplo n.º 3
0
 public static DialogResult ShowWindow()
 {
     var manager = UserManager.Create();
     using (XF_Login login = new XF_Login(manager))
         return login.ShowDialog();
 }