Autodesk.AutoCAD.ApplicationServices Namespace > TabbedDialogExtension Class > TabbedDialogExtension Constructor > TabbedDialogExtension(System.Windows.Forms.Control, TabbedDialogAction, TabbedDialogAction, TabbedDialogAction) Constructor
TabbedDialogExtension.TabbedDialogExtension(System.Windows.Forms.Control, TabbedDialogAction, TabbedDialogAction, TabbedDialogAction) Constructor
Description

 

Assigns the action specified by onOK as the OK button handler. Assigns the action specified by onCancel as the Cancel button handler. Assigns the action specified by onHelp as the Help button handler.

Visual Basic
Public Sub New(
    control As System.Windows.Forms.Control, 
    onOK As TabbedDialogAction, 
    onCancel As TabbedDialogAction, 
    onHelp As TabbedDialogAction
)
C#
public TabbedDialogExtension(
    System.Windows.Forms.Control control, 
    TabbedDialogAction onOK, 
    TabbedDialogAction onCancel, 
    TabbedDialogAction onHelp
);
Parameters
Parameters 
Description 
System.Windows.Forms.Control control 
Input which owns this extension. 
TabbedDialogAction onOK 
Input Autodesk.AutoCAD.ApplicationServices.TabbedDialogAction object to handle what happens on an "Ok" click. 
TabbedDialogAction onCancel 
Input Autodesk.AutoCAD.ApplicationServices.TabbedDialogAction object to handle what happens on a "Cancel" click. 
TabbedDialogAction onHelp 
Input Autodesk.AutoCAD.ApplicationServices.TabbedDialogAction object to handle what happens on a "Help" click. 
Links
   Comments?