Click or drag to resize

swDialog Constructor

Creates a new instance of the SOLIDWORKS dialog class.

Namespace:  CADSharpTools.SOLIDWORKS.UIAutomation
Assembly:  CADSharpTools.PDM (in CADSharpTools.PDM.dll) Version: 1.4.16.0 (1.4.16)
Syntax
public swDialog(
	string title,
	string[] captions = null,
	swDialogButtonAction_e userAction = swDialogButtonAction_e.Undefined,
	swDialogCompareMethod_e compareMethod = swDialogCompareMethod_e.Undefined
)

Parameters

title
Type: SystemString
Title of the dialog box.
captions (Optional)
Type: SystemString
Captions found in this dialog box.
userAction (Optional)
Type: CADSharpTools.SOLIDWORKS.UIAutomationswDialogButtonAction_e
Action for swDialogWatcher to perform on dialog.
compareMethod (Optional)
Type: CADSharpTools.SOLIDWORKS.UIAutomationswDialogCompareMethod_e
Compare method.
See Also