public ValueOriginBinder(IValueOriginPresenter valueOriginPresenter, IImageListRetriever imageListRetriever, IToolTipCreator toolTipCreator) { _valueOriginPresenter = valueOriginPresenter; _imageListRetriever = imageListRetriever; _toolTipCreator = toolTipCreator; _popupControl.FillWith(_valueOriginPresenter.BaseView); _repositoryItemPopupContainerEdit.Buttons[0].Kind = ButtonPredefines.Combo; _repositoryItemPopupContainerEdit.PopupControl = _popupControl; _repositoryItemPopupContainerEdit.CloseOnOuterMouseClick = false; _repositoryItemPopupContainerEdit.QueryDisplayText += (o, e) => queryDisplayText(e); _repositoryItemPopupContainerEdit.CloseUp += (o, e) => closeUp(e); _repositoryItemPopupContainerEdit.CloseUpKey = new KeyShortcut(Keys.Enter); _repositoryItemPopupContainerEdit.AllowDropDownWhenReadOnly = DefaultBoolean.True; }
public void SetHalogensView(IView view) { _popupControl.FillWith(view); }
public void SetChartView(IView view) { _popupControl.FillWith(view); }
public static void FillWith(this PopupContainerControl popupController, IView viewToAdd) { popupController.FillWith(viewToAdd as Control); }
public void SetDynamicParameterView(IView view) { _popupControl.FillWith(view); }
public void AddComparableView(IView view) { _popupControl.FillWith(view); }
public void FillMetaDataView(IView view) { _metaDataPopupControl.FillWith(view); }
public void FillMappingView(IView view) { _mappingPopupControl.FillWith(view); }