ComponentOne Windows 7 Control Pack for WinForms
Working with Windows 7 Control Pack for WinForms / Working with C1TaskDialog / Common Buttons
In This Topic
    Common Buttons
    In This Topic

    The C1TaskDialog control includes several built-in buttons that can be included in the bottom right corner of the dialog box. To customize the dialog box with buttons, you can set the CommonButtons property to one or more of the following values:

    Button Name Description
    None None Displays no buttons.

    Ok Displays the Ok button.

    Yes Displays the Yes button.

    No Displays the No button.

    Retry Displays the Retry button.

    Cancel Displays the Cancel button.

    Close Displays the Close button.

    To set the default button, you can use the SetDefaultButton method to indicate the name of the button. See the Setting the Default Button topic for details.