Beispiel #1
0
 /// <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);
     }
 }
Beispiel #2
0
 /// <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);
     }
 }
Beispiel #3
0
 /// <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);
 }
Beispiel #4
0
 /// <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);
 }
Beispiel #5
0
 public ToolStripLabel(string text, Image image, bool isLink, EventHandler onClick) : this(text, image, isLink, onClick, null)
 {
 }
Beispiel #6
0
 /// <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);
 }
Beispiel #7
0
 public RibbonOrbMenuItem()
 {
     DropDownArrowDirection = RibbonArrowDirection.Left;
     SetDropDownMargin(new Padding(10));
     DropDownShowing += new EventHandler(RibbonOrbMenuItem_DropDownShowing);
 }
Beispiel #8
0
		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();
 }
Beispiel #10
0
 public ToolStripStatusLabel(string text, Image image, EventHandler onClick, string name)
 {
     throw null;
 }
Beispiel #11
0
 public void DetachEventHandler(string eventName, EventHandler eventHandler)
 {
     ElementShim.DetachEventHandler(eventName, eventHandler);
 }
Beispiel #12
0
 public BindingContext()
 {
     managers = new Hashtable();
     onCollectionChangedHandler = null;
 }
Beispiel #13
0
 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();
 }
Beispiel #15
0
 /// <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);
     }
 }
Beispiel #16
0
		private void OnBalloonTipShown (EventArgs e)
		{
			EventHandler eh = (EventHandler)(Events [BalloonTipShownEvent]);
			if (eh != null)
				eh (this, e);
		}
Beispiel #17
0
 /// <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();
 }
Beispiel #19
0
 /// <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);
     }
 }