/// <summary>
 /// The main constructor
 /// </summary>
 /// <param name="ACallerFormOrControl">The form or control that is instantiating this class</param>
 /// <param name="APetraUtilsObject">The TFrmPetraUtils instance associated with the caller form or control</param>
 /// <param name="AGrid">The grid associated with the caller form or control</param>
 /// <param name="AButtonPanel">The IButtonPanel associated with the caller form or control.  (Typically simply pass 'this').</param>
 /// <param name="APanelFilterFind">The Panel control associated with the caller form or control.</param>
 /// <param name="AChkToggleFilter">The checkbox control associated with the caller form or control.</param>
 /// <param name="ALblRecordCounter">The Label control displaying the record count associated with the caller form or control.</param>
 public TFilterAndFindPanel(IFilterAndFind ACallerFormOrControl,
                            TFrmPetraUtils APetraUtilsObject,
                            TSgrdDataGridPaged AGrid,
                            IButtonPanel AButtonPanel,
                            Panel APanelFilterFind,
                            CheckBox AChkToggleFilter,
                            Label ALblRecordCounter)
 {
     FCallerFormOrControl = ACallerFormOrControl;
     FPetraUtilsObject    = APetraUtilsObject;
     FGrid             = AGrid;
     FButtonPanel      = AButtonPanel;
     FPnlFilterFind    = APanelFilterFind;
     FChkToggleFilter  = AChkToggleFilter;
     FLblRecordCounter = ALblRecordCounter;
 }
Esempio n. 2
0
 /// <summary>
 /// The main constructor
 /// </summary>
 /// <param name="ACallerFormOrControl">The form or control that is instantiating this class</param>
 /// <param name="APetraUtilsObject">The TFrmPetraUtils instance associated with the caller form or control</param>
 /// <param name="AGrid">The grid associated with the caller form or control</param>
 /// <param name="AButtonPanel">The IButtonPanel associated with the caller form or control.  (Typically simply pass 'this').</param>
 /// <param name="APanelFilterFind">The Panel control associated with the caller form or control.</param>
 /// <param name="AChkToggleFilter">The checkbox control associated with the caller form or control.</param>
 /// <param name="ALblRecordCounter">The Label control displaying the record count associated with the caller form or control.</param>
 public TFilterAndFindPanel(IFilterAndFind ACallerFormOrControl,
     TFrmPetraUtils APetraUtilsObject,
     TSgrdDataGridPaged AGrid,
     IButtonPanel AButtonPanel,
     Panel APanelFilterFind,
     CheckBox AChkToggleFilter,
     Label ALblRecordCounter)
 {
     FCallerFormOrControl = ACallerFormOrControl;
     FPetraUtilsObject = APetraUtilsObject;
     FGrid = AGrid;
     FButtonPanel = AButtonPanel;
     FPnlFilterFind = APanelFilterFind;
     FChkToggleFilter = AChkToggleFilter;
     FLblRecordCounter = ALblRecordCounter;
 }