edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing
Click or drag to resize

FTPConnectionParentControl Property

Reference to Windows Forms controls (if available).

Namespace:  EnterpriseDT.Net.Ftp
Assembly:  edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.3.0.0
Syntax
public Control ParentControl { get; set; }

Property Value

Type: Control
Remarks

This property only applies to Windows Forms applications.

If the ParentControl property is set then all events and callbacks will be executed in the thread in which this control was created. If it is not set then FTPConnection will still attempt to find a control on whose thread events and callback will be executed. This prevents cross-thread errors.

See Also