Ejemplo n.º 1
0
        public FrmLogin()
        {
            InitializeComponent();

            _command = new LoginActions();
            var userName = _command.GetLoginStatus();

            if (userName == null)
            {
                return;
            }

            // if the user is already logged in dont show the username and password area
            HideUI(userName);
        }