C# Class Evbpc.Framework.Windows.Forms.Button

Represents a Windows button control.
http://msdn.microsoft.com/en-us/library/system.windows.forms.button(v=vs.110).aspx
Inheritance: ButtonBase, IButtonControl
Exibir arquivo Open project: EBrown8534/Framework

Public Methods

Method Description
Button ( ) : System

Initializes a new instance of the Button class.

http://msdn.microsoft.com/en-us/library/system.windows.forms.button.button(v=vs.110).aspx

NotifyDefault ( bool value ) : void

Notifies the Button whether it is the default button so that it can adjust its appearance accordingly.

http://msdn.microsoft.com/en-us/library/system.windows.forms.button.notifydefault(v=vs.110).aspx

PerformClick ( ) : void

Generates a Click event for a button.

http://msdn.microsoft.com/en-us/library/system.windows.forms.button.performclick(v=vs.110).aspx

Protected Methods

Method Description
OnMouseEnter ( EventArgs eventargs ) : void

This member overrides ButtonBase.OnMouseEnter(EventArgs), and more complete documentation might be available in that topic. Raises the OnMouseEnter event.

http://msdn.microsoft.com/en-us/library/6y878dt5(v=vs.110).aspx

OnMouseLeave ( EventArgs eventargs ) : void

This member overrides ButtonBase.OnMouseLeave(EventArgs), and more complete documentation might be available in that topic. Raises the OnMouseLeave event.

http://msdn.microsoft.com/en-us/library/e6ty6yb0(v=vs.110).aspx

OnMouseUp ( MouseEventArgs mevent ) : void

Raises the OnMouseUp event.

http://msdn.microsoft.com/en-us/library/1hc3z2ya(v=vs.110).aspx

OnTextChanged ( EventArgs e ) : void

Raises the TextChanged event.

http://msdn.microsoft.com/en-us/library/0k7keftx(v=vs.110).aspx

Method Details

Button() public method

Initializes a new instance of the Button class.
http://msdn.microsoft.com/en-us/library/system.windows.forms.button.button(v=vs.110).aspx
public Button ( ) : System
return System

NotifyDefault() public method

Notifies the Button whether it is the default button so that it can adjust its appearance accordingly.
http://msdn.microsoft.com/en-us/library/system.windows.forms.button.notifydefault(v=vs.110).aspx
public NotifyDefault ( bool value ) : void
value bool true if the button is to have the appearance of the default button; otherwise, false.
return void

OnMouseEnter() protected method

This member overrides ButtonBase.OnMouseEnter(EventArgs), and more complete documentation might be available in that topic. Raises the OnMouseEnter event.
http://msdn.microsoft.com/en-us/library/6y878dt5(v=vs.110).aspx
protected OnMouseEnter ( EventArgs eventargs ) : void
eventargs System.EventArgs Provides information for the event.
return void

OnMouseLeave() protected method

This member overrides ButtonBase.OnMouseLeave(EventArgs), and more complete documentation might be available in that topic. Raises the OnMouseLeave event.
http://msdn.microsoft.com/en-us/library/e6ty6yb0(v=vs.110).aspx
protected OnMouseLeave ( EventArgs eventargs ) : void
eventargs System.EventArgs Provides missing information for the event.
return void

OnMouseUp() protected method

Raises the OnMouseUp event.
http://msdn.microsoft.com/en-us/library/1hc3z2ya(v=vs.110).aspx
protected OnMouseUp ( MouseEventArgs mevent ) : void
mevent MouseEventArgs A that contains the event data.
return void

OnTextChanged() protected method

Raises the TextChanged event.
http://msdn.microsoft.com/en-us/library/0k7keftx(v=vs.110).aspx
protected OnTextChanged ( EventArgs e ) : void
e System.EventArgs An that contains the event data.
return void

PerformClick() public method

Generates a Click event for a button.
http://msdn.microsoft.com/en-us/library/system.windows.forms.button.performclick(v=vs.110).aspx
public PerformClick ( ) : void
return void