Пример #1
0
        private void SetRoles()
        {
            BizRole bizRole = new BizRole();

            cmbRole.ItemsSource       = bizRole.GetRoleOrRoleGroups();
            cmbRole.DisplayMemberPath = "Name";
            cmbRole.SelectedValuePath = "ID";
        }
        public void ShowRoles()
        {
            BizRole bizRole = new BizRole();

            dtgRoles.ItemsSource = bizRole.GetRoleOrRoleGroups();
        }