Ejemplo n.º 1
0
        public void EnterExecute(object obj)
        {
            int id = authorization.Login(login, password);

            if (id != -1)
            {
                CanExecuteOnClosed = false;
                WindowController.CloseWindow();
                WindowFactory.CreateRationWindow(id);
            }
            else
            {
                Error = L10n.Resource.LOG_ERROR;
            }
        }