ComponentOne Windows 7 Control Pack for WinForms
Close Method



C1.Win.C1Win7Pack.4 Assembly > C1.Win.C1Win7Pack Namespace > C1TaskDialog Class : Close Method
Closes the task dialog by simulating a click on the Cancel button.
Syntax
Public Sub Close() 
Dim instance As C1TaskDialog
 
instance.Close()
public void Close()
public:
void Close(); 
Remarks
If the AllowCancel property is set to False and there is no Cancel button in the dialog, the method simulates a click on the Close button.
See Also

Reference

C1TaskDialog Class
C1TaskDialog Members