Пример #1
0
 private void InitFormSelector()
 {
     if (quickReportManager == null)
     {
         quickReportManager = new QuickReportCore.Managers.QuickReportManager();
     }
     frmSelector               = new QuickReportCore.Forms.frmSelector();
     frmSelector.Title         = Title;
     frmSelector.OutColumn     = OutColumn;
     frmSelector.HideOutColumn = HideOutColumn;
     frmSelector.SelectItem   += new QuickReportCore.Forms.frmSelector.SelectItemHandle(frmSelector_SelectItem);
 }
Пример #2
0
 void frmSelector_SelectItem(string item)
 {
     if (item == null)
     {
         frmSelector = null;
         return;
     }
     OutValue = item;
     if (ActionType == QuickReportCore.Controls.ConditionValue.ucConditionValueText.SelectorActionType.查询 && NeedQuery != null)
     {
         NeedQuery(this);
     }
 }