public void SetupPanel(
     TenderTypePanelType tpType,
     List <PairType <TenderTypeButton, bool> > enableFlags,
     ButtonClicked buttonClickedFxn)
 {
     //InitializeComponent();
     this.initPanel(tpType, enableFlags, buttonClickedFxn);
 }
 private void initPanel(TenderTypePanelType tpType,
                        List <PairType <TenderTypeButton, bool> > enableFlags,
                        ButtonClicked buttonClickedFxn)
 {
     this.tenderPanelType             = tpType;
     this.tenderTypeButtonEnableFlags = enableFlags;
     this.tenderTypeButtonEnumNames   = Enum.GetNames(typeof(TenderTypeButton));
     this.buttonMissingAdjustment     = 0;
     this.buttonClickedHandler        = buttonClickedFxn;
 }