Exemplo n.º 1
0
 public ctlUserView(MongoDbHelper.DataViewInfo _DataViewInfo)
 {
     InitializeComponent();
     InitToolAndMenu();
     mDataViewInfo = _DataViewInfo;
     _dataShower.Add(lstData);
 }
Exemplo n.º 2
0
 /// <summary>
 ///     设置DataFilter
 /// </summary>
 public void SetCurrDataFilter(MongoDbHelper.DataViewInfo CurrentDataViewInfo)
 {
     //过滤条件
     for (int i = 0; i < _conditionCount; i++)
     {
         var ctl = (ctlQueryCondition)Controls.Find("Condition" + (i + 1), true)[0];
         if (ctl.IsSeted)
         {
             CurrentDataViewInfo.mDataFilter.QueryConditionList.Add(ctl.ConditionItem);
         }
     }
 }
Exemplo n.º 3
0
 /// <summary>
 ///     初始化
 /// </summary>
 /// <param name="_DataViewInfo"></param>
 public ctlDataView(MongoDbHelper.DataViewInfo _DataViewInfo)
 {
     InitializeComponent();
     mDataViewInfo = _DataViewInfo;
 }
Exemplo n.º 4
0
 /// <summary>
 ///     初始化
 /// </summary>
 /// <param name="mDataViewInfo">Filter也是DataViewInfo的一个属性,所以这里加上参数</param>
 public frmQuery(MongoDbHelper.DataViewInfo mDataViewInfo)
 {
     InitializeComponent();
     CurrentDataViewInfo           = mDataViewInfo;
     SystemManager.SelectObjectTag = mDataViewInfo.strDBTag;
 }
Exemplo n.º 5
0
 public frmExport(MongoDbHelper.DataViewInfo info)
 {
     InitializeComponent();
     _viewinfo = info;
 }