CommonDialog.HelpRequest Event

 

Occurs when the user clicks the Help button on a common dialog box.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

member HelpRequest : IEvent<EventHandler,
    EventArgs>

For information about handling events, see Handling and Raising Events.

The following code example demonstrates initializing a ColorDialog object setting the AnyColor, AllowFullOpen properties. The ColorDialog object does not allow the user to set a custom color, but it allows the full set of basic colors to be displayed. By setting the SolidColorOnly property to false, it allows the display of colors that are combinations of other colors on systems with 256 or less colors. The example also shows setting the ShowHelp property and handling a HelpRequest event for a dialog box. To run the example, paste the following code in a form and call the InitializeColorDialog method in the form's constructor or Load method. This example requires that the Click event of the button is connected to the event handler defined in the example.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: