edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing
Reference to Windows Forms controls (if available).

Namespace: EnterpriseDT.Net.Ftp
Assembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 9.4.0.40

Syntax

C#
public Control ParentControl { get; set; }
Visual Basic
Public Property ParentControl As Control
	Get
	Set
Visual C++
public:
property Control^ ParentControl {
	Control^ get ();
	void set (Control^ value);
}

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