Exemple #1
0
        private void SetEntityPreDefinedSearchList()
        {
            if (lokSearchRepository.ItemsSource == null)
            {
                lokSearchRepository.EditItemClicked += LokEntityPreDefined_EditItemClicked;;
            }
            BizSearchRepository biz = new BizSearchRepository();

            lokSearchRepository.DisplayMember       = "Title";
            lokSearchRepository.SelectedValueMember = "ID";
            lokSearchRepository.ItemsSource         = biz.GetSearchRepositories(EntityID);
        }
Exemple #2
0
        private void GetPreDefinedSearchs()
        {
            var listPreDefinedSearchs = bizSearchRepository.GetSearchRepositories(EntityID);

            dtgItems.ItemsSource = listPreDefinedSearchs;
        }