Пример #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);
     }
 }
Пример #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);
     }
 }
Пример #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);
 }
Пример #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);
 }
Пример #5
0
 public ToolStripLabel(string text, Image image, bool isLink, EventHandler onClick) : this(text, image, isLink, onClick, null)
 {
 }
Пример #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);
 }
Пример #7
0
 public RibbonOrbMenuItem()
 {
     DropDownArrowDirection = RibbonArrowDirection.Left;
     SetDropDownMargin(new Padding(10));
     DropDownShowing += new EventHandler(RibbonOrbMenuItem_DropDownShowing);
 }
Пример #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();
 }
Пример #10
0
 public ToolStripStatusLabel(string text, Image image, EventHandler onClick, string name)
 {
     throw null;
 }
Пример #11
0
 public void DetachEventHandler(string eventName, EventHandler eventHandler)
 {
     ElementShim.DetachEventHandler(eventName, eventHandler);
 }
Пример #12
0
 public BindingContext()
 {
     managers = new Hashtable();
     onCollectionChangedHandler = null;
 }
Пример #13
0
 public ToolStripLabel(string text, Image image, bool isLink, EventHandler onClick, string name) : base(text, image, onClick, name)
 {
     IsLink = isLink;
 }
Пример #14
0
 public ToolStripSplitButton(string text, Image image, EventHandler onClick) : base(text, image, onClick)
 {
     Initialize();
 }
Пример #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);
     }
 }
Пример #16
0
		private void OnBalloonTipShown (EventArgs e)
		{
			EventHandler eh = (EventHandler)(Events [BalloonTipShownEvent]);
			if (eh != null)
				eh (this, e);
		}
Пример #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();
 }
Пример #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);
     }
 }