ZForge.Controls.TreeViewAdv.Tree.NodeControls.NodeControl.CheckThread C# (CSharp) Method

CheckThread() protected method

protected CheckThread ( ) : void
return void
        protected void CheckThread()
        {
            if (Parent != null && Control.CheckForIllegalCrossThreadCalls)
                if (Parent.InvokeRequired)
                    throw new InvalidOperationException("Cross-thread calls are not allowed");
        }