public DelegateTypeEditor SetDelegateType(DelegateType type, bool memberOnly = false) { MemberOnly = memberOnly; SetTypeBase(type); delegateType = type; LanguageSpecificInitialization(); InitEditStack(); delegateParameterEditor.ValueChanged += new EditValueChangedEventHandler(delegateParameterEditor_ValueChanged); return this; }
/// <exception cref="ArgumentNullException"> /// <paramref name="_delegate"/> is null. /// </exception> internal DelegateShape(DelegateType _delegate) : base(_delegate) { this._delegate = _delegate; UpdateMinSize(); }
public void SetDelegateType(DelegateType parent) { if (parent != null) { this.parent = parent; this.Text = string.Format(Strings.ItemsOfType, parent.Name); FillList(); } }