Click or drag to resize

cMessageBox Methods

The cMessageBox type exposes the following members.

Methods
 NameDescription
Public methodActivateActivates the form and gives it focus.
(Inherited from Form)
Public methodAddOwnedFormAdds an owned form to this form.
(Inherited from Form)
Public methodBeginInvoke(Delegate)Executes the specified delegate asynchronously on the thread that the control's underlying handle was created on.
(Inherited from Control)
Public methodBeginInvoke(Delegate, Object)Executes the specified delegate asynchronously with the specified arguments, on the thread that the control's underlying handle was created on.
(Inherited from Control)
Public methodBringToFrontBrings the control to the front of the z-order.
(Inherited from Control)
Public methodCloseCloses the form.
(Inherited from Form)
Public methodContainsRetrieves a value indicating whether the specified control is a child of the control.
(Inherited from Control)
Public methodCreateControlForces the creation of the visible control, including the creation of the handle and any visible child controls.
(Inherited from Control)
Public methodCreateGraphicsCreates the Graphics for the control.
(Inherited from Control)
Public methodCreateObjRefCreates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject)
Public methodDisposeReleases all resources used by the Component.
(Inherited from Component)
Public methodDoDragDropBegins a drag-and-drop operation.
(Inherited from Control)
Public methodDrawToBitmapSupports rendering to the specified bitmap.
(Inherited from Control)
Public methodEndInvokeRetrieves the return value of the asynchronous operation represented by the IAsyncResult passed.
(Inherited from Control)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodFindFormRetrieves the form that the control is on.
(Inherited from Control)
Public methodFocusSets input focus to the control.
(Inherited from Control)
Public methodGetChildAtPoint(Point)Retrieves the child control that is located at the specified coordinates.
(Inherited from Control)
Public methodGetChildAtPoint(Point, GetChildAtPointSkip)Retrieves the child control that is located at the specified coordinates, specifying whether to ignore child controls of a certain type.
(Inherited from Control)
Public methodGetContainerControlReturns the next ContainerControl up the control's chain of parent controls.
(Inherited from Control)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetLifetimeServiceRetrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject)
Public methodGetNextControlRetrieves the next control forward or back in the tab order of child controls.
(Inherited from Control)
Public methodGetPreferredSizeRetrieves the size of a rectangular area into which a control can be fitted.
(Inherited from Control)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodHideConceals the control from the user.
(Inherited from Control)
Public methodInitializeLifetimeServiceObtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject)
Public methodInvalidateInvalidates the entire surface of the control and causes the control to be redrawn.
(Inherited from Control)
Public methodInvalidate(Boolean)Invalidates a specific region of the control and causes a paint message to be sent to the control. Optionally, invalidates the child controls assigned to the control.
(Inherited from Control)
Public methodInvalidate(Rectangle)Invalidates the specified region of the control (adds it to the control's update region, which is the area that will be repainted at the next paint operation), and causes a paint message to be sent to the control.
(Inherited from Control)
Public methodInvalidate(Region)Invalidates the specified region of the control (adds it to the control's update region, which is the area that will be repainted at the next paint operation), and causes a paint message to be sent to the control.
(Inherited from Control)
Public methodInvalidate(Rectangle, Boolean)Invalidates the specified region of the control (adds it to the control's update region, which is the area that will be repainted at the next paint operation), and causes a paint message to be sent to the control. Optionally, invalidates the child controls assigned to the control.
(Inherited from Control)
Public methodInvalidate(Region, Boolean)Invalidates the specified region of the control (adds it to the control's update region, which is the area that will be repainted at the next paint operation), and causes a paint message to be sent to the control. Optionally, invalidates the child controls assigned to the control.
(Inherited from Control)
Public methodInvoke(Delegate)Executes the specified delegate on the thread that owns the control's underlying window handle.
(Inherited from Control)
Public methodInvoke(Delegate, Object)Executes the specified delegate, on the thread that owns the control's underlying window handle, with the specified list of arguments.
(Inherited from Control)
Public methodLayoutMdiArranges the multiple-document interface (MDI) child forms within the MDI parent form.
(Inherited from Form)
Public methodLogicalToDeviceUnitsConverts a Logical DPI value to it's equivalent DeviceUnit DPI value.
(Inherited from Control)
Public methodPerformAutoScalePerforms scaling of the container control and its children.
(Inherited from ContainerControl)
Public methodPerformLayoutForces the control to apply layout logic to all its child controls.
(Inherited from Control)
Public methodPerformLayout(Control, String)Forces the control to apply layout logic to all its child controls.
(Inherited from Control)
Public methodPointToClientComputes the location of the specified screen point into client coordinates.
(Inherited from Control)
Public methodPointToScreenComputes the location of the specified client point into screen coordinates.
(Inherited from Control)
Public methodPreProcessControlMessagePreprocesses keyboard or input messages within the message loop before they are dispatched.
(Inherited from Control)
Public methodPreProcessMessagePreprocesses keyboard or input messages within the message loop before they are dispatched.
(Inherited from Control)
Public methodRectangleToClientComputes the size and location of the specified screen rectangle in client coordinates.
(Inherited from Control)
Public methodRectangleToScreenComputes the size and location of the specified client rectangle in screen coordinates.
(Inherited from Control)
Public methodRefreshForces the control to invalidate its client area and immediately redraw itself and any child controls.
(Inherited from Control)
Public methodRemoveOwnedFormRemoves an owned form from this form.
(Inherited from Form)
Public methodResetBackColorResets the BackColor property to its default value.
(Inherited from Control)
Public methodResetBindingsCauses a control bound to the BindingSource to reread all the items in the list and refresh their displayed values.
(Inherited from Control)
Public methodResetCursorResets the Cursor property to its default value.
(Inherited from Control)
Public methodResetFontResets the Font property to its default value.
(Inherited from Control)
Public methodResetForeColorResets the ForeColor property to its default value.
(Inherited from Control)
Public methodResetImeModeResets the ImeMode property to its default value.
(Inherited from Control)
Public methodResetRightToLeftResets the RightToLeft property to its default value.
(Inherited from Control)
Public methodResetTextResets the Text property to its default value.
(Inherited from Control)
Public methodResumeLayoutResumes usual layout logic.
(Inherited from Control)
Public methodResumeLayout(Boolean)Resumes usual layout logic, optionally forcing an immediate layout of pending layout requests.
(Inherited from Control)
Public methodScale(Single)Obsolete.
Scales the control and any child controls.
(Inherited from Control)
Public methodScale(SizeF)Scales the control and all child controls by the specified scaling factor.
(Inherited from Control)
Public methodScale(Single, Single)Obsolete.
Scales the entire control and any child controls.
(Inherited from Control)
Public methodScaleBitmapLogicalToDeviceScales a logical bitmap value to it's equivalent device unit value when a DPI change occurs.
(Inherited from Control)
Public methodScrollControlIntoViewScrolls the specified child control into view on an auto-scroll enabled control.
(Inherited from ScrollableControl)
Public methodSelectActivates the control.
(Inherited from Control)
Public methodSelectNextControlActivates the next control.
(Inherited from Control)
Public methodSendToBackSends the control to the back of the z-order.
(Inherited from Control)
Public methodSetAutoScrollMarginSets the size of the auto-scroll margins.
(Inherited from ScrollableControl)
Public methodSetBounds(Int32, Int32, Int32, Int32)Sets the bounds of the control to the specified location and size.
(Inherited from Control)
Public methodSetBounds(Int32, Int32, Int32, Int32, BoundsSpecified)Sets the specified bounds of the control to the specified location and size.
(Inherited from Control)
Public methodSetDesktopBoundsSets the bounds of the form in desktop coordinates.
(Inherited from Form)
Public methodSetDesktopLocationSets the location of the form in desktop coordinates.
(Inherited from Form)
Public methodShowDisplays the control to the user.
(Inherited from Control)
Public methodShow(IWin32Window)Shows the form with the specified owner to the user.
(Inherited from Form)
Public methodStatic memberShow(Object, String, String, cMessageBoxButtons, cMessageBoxIcon) 
Public methodStatic memberShow(Object, String, String, cMessageBoxButtons, cMessageBoxIcon, cMessageBoxDefaultButton) 
Public methodStatic memberShow(Object, String, String, String, cMessageBoxIcon, Int32) 
Public methodStatic memberShow(Object, String, String, String, cMessageBoxIcon, Int32, Int32) 
Public methodShowBox 
Public methodShowDialogShows the form as a modal dialog box.
(Inherited from Form)
Public methodShowDialog(IWin32Window)Shows the form as a modal dialog box with the specified owner.
(Inherited from Form)
Public methodSuspendLayoutTemporarily suspends the layout logic for the control.
(Inherited from Control)
Public methodToStringGets a string representing the current instance of the form.
(Inherited from Form)
Public methodUpdateCauses the control to redraw the invalidated regions within its client area.
(Inherited from Control)
Public methodValidateVerifies the value of the control losing focus by causing the Validating and Validated events to occur, in that order.
(Inherited from ContainerControl)
Public methodValidate(Boolean)Verifies the value of the control that is losing focus; conditionally dependent on whether automatic validation is turned on.
(Inherited from ContainerControl)
Public methodValidateChildrenCauses all of the child controls within a control that support validation to validate their data.
(Inherited from Form)
Public methodValidateChildren(ValidationConstraints)Causes all of the child controls within a control that support validation to validate their data.
(Inherited from Form)
Top
See Also