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

 

Constructor. 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. Assigns the action specified by onApply as the Apply button handler.

Visual Basic
Public Sub New(
    control As System.Windows.Forms.Control, 
    onOK As TabbedDialogAction, 
    onCancel As TabbedDialogAction, 
    onHelp As TabbedDialogAction, 
    onApply As TabbedDialogAction
)
C#
public TabbedDialogExtension(
    System.Windows.Forms.Control control, 
    TabbedDialogAction onOK, 
    TabbedDialogAction onCancel, 
    TabbedDialogAction onHelp, 
    TabbedDialogAction onApply
);
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. 
TabbedDialogAction onApply 
Input Autodesk.AutoCAD.ApplicationServices.TabbedDialogAction object to handle what happens on an "Apply" click. 
Links
   Comments?