Exemplo n.º 1
0
        private void OnTransactionReasonAdd(object sender, TransactionReason e)
        {
            _manager.AddReason(e);

            (this.View as Form).Close();

            GlobalSettings.Instance.TransactionReasons = _manager.GetReasons();
        }
Exemplo n.º 2
0
        private GlobalSettings()
        {
            _reasonManager         = new TransactionReasonManager();
            _searchCriteriaManager = new SearchCriteriaManager();
            _userManager           = new UserManager();

            _reasons  = _reasonManager.GetReasons();
            _criteria = _searchCriteriaManager.GetCriterias();
            _users    = _userManager.GetUsers();
        }