private List<T_SYS_ENTITYMENU> SelectedMenus = new List<T_SYS_ENTITYMENU>(); //选择的菜单
 private void SearchBtn_Click(object sender, RoutedEventArgs e)
 {
     string StrType = "";
     T_SYS_DICTIONARY selectDict = new T_SYS_DICTIONARY();
     selectDict = cbxSystemType.SelectedItem as T_SYS_DICTIONARY;
     if (selectDict != null)
         StrType = selectDict.DICTIONARYVALUE.ToString();
     addFrm = new SelectMultiMenu(StrType, SelectedMenus);
     EntityBrowser browser = new EntityBrowser(addFrm);
     browser.FormType = FormTypes.Browse;
     browser.ReloadDataEvent += new EntityBrowser.refreshGridView(browser_ReloadDataEvent);
     browser.Show<string>(DialogMode.Default, Common.ParentLayoutRoot, "", (result) => { });
 }
        private List <T_SYS_ENTITYMENU> SelectedMenus = new List <T_SYS_ENTITYMENU>(); //选择的菜单
        private void SearchBtn_Click(object sender, RoutedEventArgs e)
        {
            string           StrType    = "";
            T_SYS_DICTIONARY selectDict = new T_SYS_DICTIONARY();

            selectDict = cbxSystemType.SelectedItem as T_SYS_DICTIONARY;
            if (selectDict != null)
            {
                StrType = selectDict.DICTIONARYVALUE.ToString();
            }
            addFrm = new SelectMultiMenu(StrType, SelectedMenus);
            EntityBrowser browser = new EntityBrowser(addFrm);

            browser.FormType         = FormTypes.Browse;
            browser.ReloadDataEvent += new EntityBrowser.refreshGridView(browser_ReloadDataEvent);
            browser.Show <string>(DialogMode.Default, Common.ParentLayoutRoot, "", (result) => { });
        }
        private void SearchBtn_Click(object sender, RoutedEventArgs e)
        {
            ComboBox cbxSystemType = Utility.FindChildControl<ComboBox>(expander, "cbxSystemType");
            T_SYS_DICTIONARY dict = cbxSystemType.SelectedItem as T_SYS_DICTIONARY;

            string systype = dict == null ? "" : dict.DICTIONARYVALUE.GetValueOrDefault().ToString();
            //addFrm = new SelectMultiMenu(systype, null);
            addFrm = new SelectMultiMenu(SelectedMenus, systype);
            EntityBrowser browser = new EntityBrowser(addFrm);
            browser.FormType = FormTypes.Browse;
            browser.ReloadDataEvent += new EntityBrowser.refreshGridView(browser_ReloadDataEvent);
            browser.Show<string>(DialogMode.Default, Common.ParentLayoutRoot, "", (result) => { });
        }