Skip to main content
A newer version of this page is available. .

AlertButton Methods

Represents a button within an alert window.
Name Description
Dispose() Disposes of the current object and releases all the allocated resources.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetButtonSize() Returns the button’s size.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
OnClick() The method is called when the button is clicked.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
SetDown(Boolean) Emulates changing a button’s check state, as if the button were clicked by the mouse.
SetOwner(AlertFormCore) This member supports the internal infrastructure, and is not intended to be used directly from your code.
ToString() Returns the textual representation of the button.
See Also