/// <include file='doc\ListControl.uex' path='docs/doc[@for="ListControl.OnValueMemberChanged"]/*' /> protected virtual void OnValueMemberChanged(EventArgs e) { EventHandler eh = Events[EVENT_VALUEMEMBERCHANGED] as EventHandler; if (eh != null) { eh(this, e); } }
/// <include file='doc\ListControl.uex' path='docs/doc[@for="ListControl.OnSelectedValueChanged"]/*' /> protected virtual void OnSelectedValueChanged(EventArgs e) { EventHandler eh = Events[EVENT_SELECTEDVALUECHANGED] as EventHandler; if (eh != null) { eh(this, e); } }
/// <include file='doc\ListControl.uex' path='docs/doc[@for="ListControl.OnFormatStringChanged"]/*' /> protected virtual void OnFormatStringChanged(EventArgs e) { EventHandler eh = Events[EVENT_FORMATSTRINGCHANGED] as EventHandler; if (eh != null) eh(this,e); }
/// <include file='doc\ListControl.uex' path='docs/doc[@for="ListControl.OnFormattingEnabledChanged"]/*' /> protected virtual void OnFormattingEnabledChanged(EventArgs e) { EventHandler eh = Events[EVENT_FORMATTINGENABLEDCHANGED] as EventHandler; if (eh != null) eh(this,e); }
public ToolStripLabel(string text, Image image, bool isLink, EventHandler onClick) : this(text, image, isLink, onClick, null) { }
/// <include file='doc\ListControl.uex' path='docs/doc[@for="ListControl.OnFormatInfoChanged"]/*' /> protected virtual void OnFormatInfoChanged(EventArgs e) { EventHandler eh = Events[EVENT_FORMATINFOCHANGED] as EventHandler; if (eh != null) eh(this,e); }
public RibbonOrbMenuItem() { DropDownArrowDirection = RibbonArrowDirection.Left; SetDropDownMargin(new Padding(10)); DropDownShowing += new EventHandler(RibbonOrbMenuItem_DropDownShowing); }
private void OnClick (EventArgs e) { EventHandler eh = (EventHandler)(Events [ClickEvent]); if (eh != null) eh (this, e); }
public ToolStripDropDownButton(string text, Image image, EventHandler onClick, string name) : base(text, image, onClick, name) { this.showDropDownArrow = true; this.Initialize(); }
public ToolStripStatusLabel(string text, Image image, EventHandler onClick, string name) { throw null; }
public void DetachEventHandler(string eventName, EventHandler eventHandler) { ElementShim.DetachEventHandler(eventName, eventHandler); }
public BindingContext() { managers = new Hashtable(); onCollectionChangedHandler = null; }
public ToolStripLabel(string text, Image image, bool isLink, EventHandler onClick, string name) : base(text, image, onClick, name) { IsLink = isLink; }
public ToolStripSplitButton(string text, Image image, EventHandler onClick) : base(text, image, onClick) { Initialize(); }
/// <include file='doc\ListControl.uex' path='docs/doc[@for="ListControl.OnDataSourceChanged"]/*' /> protected virtual void OnDataSourceChanged(EventArgs e) { EventHandler eh = Events[EVENT_DATASOURCECHANGED] as EventHandler; if (eh != null) { eh(this, e); } }
private void OnBalloonTipShown (EventArgs e) { EventHandler eh = (EventHandler)(Events [BalloonTipShownEvent]); if (eh != null) eh (this, e); }
/// <include file='doc\ListControl.uex' path='docs/doc[@for="ListControl.OnDisplayMemberChanged"]/*' /> protected virtual void OnDisplayMemberChanged(EventArgs e) { EventHandler eh = Events[EVENT_DISPLAYMEMBERCHANGED] as EventHandler; if (eh != null) { eh(this, e); } }
public ToolStripDropDownButton(string text, Image image, EventHandler onClick, string name) : base(text, image, onClick, name) { Initialize(); }
/// <include file='doc\TextBox.uex' path='docs/doc[@for="TextBox.OnTextAlignChanged"]/*' /> protected virtual void OnTextAlignChanged(EventArgs e) { EventHandler eh = Events[EVENT_TEXTALIGNCHANGED] as EventHandler; if (eh != null) { eh(this, e); } }