コード例 #1
0
        void client_GetSysDictionaryCategoryCompleted(object sender, GetSysDictionaryCategoryCompletedEventArgs e)
        {
            if (e.Result != null)
            {
                SysDictionaryCategoryList = e.Result.ToList();
                T_SYS_DICTIONARY temp = new T_SYS_DICTIONARY();
                temp.DICTIONCATEGORY     = "ALL";
                temp.DICTIONCATEGORYNAME = Utility.GetResourceStr("ALL");
                SysDictionaryCategoryList.Insert(0, temp);

                ComboBox cbDictionay = Utility.FindChildControl <ComboBox>(expander, "cbDictionay");
                cbDictionay.ItemsSource   = SysDictionaryCategoryList;
                cbDictionay.SelectedIndex = 0;
            }
        }
コード例 #2
0
ファイル: SysDictionary.xaml.cs プロジェクト: JuRogn/OA
        void client_GetSysDictionaryCategoryCompleted(object sender, GetSysDictionaryCategoryCompletedEventArgs e)
        {
            if (e.Result != null)
            {
                SysDictionaryCategoryList = e.Result.ToList();
                T_SYS_DICTIONARY temp = new T_SYS_DICTIONARY();
                temp.DICTIONCATEGORY = "ALL";
                temp.DICTIONCATEGORYNAME = Utility.GetResourceStr("ALL");
                SysDictionaryCategoryList.Insert(0, temp);

                ComboBox cbDictionay = Utility.FindChildControl<ComboBox>(expander, "cbDictionay");
                cbDictionay.ItemsSource = SysDictionaryCategoryList;
                cbDictionay.SelectedIndex = 0;
            }
        }