/// <summary>
 /// 初始化数据盒子
 /// </summary>
 private void InitBoxOfComboBox()
 {
     this.cboxType.SelectedValuePath   = "DictMark";
     this.cboxType.DisplayMemberPath   = "DictName";
     this.cboxType.DataContext         = PfmDictionaryBLL.ISelect("dict_type=1");
     this.cboxYear.SelectedValuePath   = "Value";
     this.cboxYear.DisplayMemberPath   = "Key";
     this.cboxYear.DataContext         = BuildPeriodicOfYear(ConfigTsit.YearOrigin);
     this.cboxReriod.SelectedValuePath = "Value";
     this.cboxReriod.DisplayMemberPath = "Key";
     this.cboxReriod.DataContext       = DictionaryTsit.DefSelect;
 }
Beispiel #2
0
 /// <summary>
 /// 获取所有数据
 /// <remarks>
 /// 排序:字典类型、字典标识
 /// </remarks>
 /// </summary>
 /// <returns></returns>
 public static IList <PfmDictionaryMDL> ISelect()
 {
     return(PfmDictionaryBLL.ISelect(null, "dict_type,dict_mark"));
 }
Beispiel #3
0
 /// <summary>
 ///  初始化数据
 /// </summary>
 private void InitializeData()
 {
     EntityListener.PfmDictionaryListener.Instance.Receive(PfmDictionaryBLL.ISelectPaging(pager.PageSize, pager.PageCurrent, out _dataTotal));
 }