ComponentOne Windows 7 Control Pack for WinForms
C1.Win.C1Win7Pack Namespace / C1TaskDialog Class / ButtonClick Event

In This Topic
    ButtonClick Event
    In This Topic
    Occurs when a button or a command link is clicked in the task dialog.
    Syntax
    'Declaration
     
    
    <C1CategoryAttribute("Action")>
    <C1DescriptionAttribute("C1TaskDialog.ButtonClick", "Occurs when a button or a command link is clicked in the task dialog.")>
    Public Event ButtonClick As TaskDialogButtonClickEventHandler
    [C1Category("Action")]
    [C1Description("C1TaskDialog.ButtonClick", "Occurs when a button or a command link is clicked in the task dialog.")]
    public event TaskDialogButtonClickEventHandler ButtonClick
    Event Data

    The event handler receives an argument of type TaskDialogButtonClickEventArgs containing data related to this event. The following TaskDialogButtonClickEventArgs properties provide information specific to this event.

    PropertyDescription
    (Inherited from System.ComponentModel.CancelEventArgs)
    Gets the custom button if the DialogResult is equal to 'Custom'.  
    Gets the proposed dialog result.  
    See Also