edtFTPnet/Free - Open-source FTP component for .NET | Download
Indicates whether or not the event-handler has been invoked on the GUI thread.

Namespace: EnterpriseDT.Net.Ftp
Assembly: edtFTPnet (in edtFTPnet.dll) Version: 2.2.3.0

Syntax

C#
public bool IsGuiThread { get; set; }
Visual Basic
Public Property IsGuiThread As Boolean
	Get
	Set
Visual C++
public:
property bool IsGuiThread {
	bool get ();
	void set (bool value);
}

Remarks

If this property is true, then it's safe to manipulate Windows Forms controls from within the event-handler, otherwise BeginInvoke(Delegate) must be used.

See Also