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

 

This constructor assigns the action specified by onOK as the OK button handler. It also assigns the action specified by onCancel as the Cancel button handler.

Visual Basic
Public Sub New(
    control As System.Windows.Forms.Control, 
    onOK As TabbedDialogAction, 
    onCancel As TabbedDialogAction
)
C#
public TabbedDialogExtension(
    System.Windows.Forms.Control control, 
    TabbedDialogAction onOK, 
    TabbedDialogAction onCancel
);
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. 
Links
   Comments?