You should only access properties of a control (that includes a Form) from the thread that owns the control's underlying window handle.
您应该只通过拥有控件底层窗口句柄的线程访问(包含Form)控件的属性。
Gets the window handle that the control is bound to.
获取控件绑定到的窗口句柄。
Executes a delegate on the thread that owns the control's underlying window handle.
在拥有此控件的基础窗口句柄的线程上执行委托。
Executes the specified delegate on the thread that owns the control's underlying window handle.
在拥有此控件的基础窗口句柄的线程上执行指定的委托。
The WM_CANCELJOURNAL message has a NULL window handle, therefore it cannot be dispatched to a window procedure.
CANCELJOURNAL消息包含一个空窗体句柄,因此不能被分派给窗体程序。
Gets or sets the window handle that should be used as the parent window for dialog boxes that are created by Cryptography Next Generation (CNG) classes.
获取或设置窗口句柄,该句柄应用作由下一代加密技术(CNG)类创建的对话框的父窗口的句柄。
The most common type of unmanaged resource is an object that wraps an operating system resource, such as a file handle, window handle, or network connection.
最常用的非托管资源类型是包装操作系统资源的对象,例如,文件句柄、窗口句柄或网络连接。
If the control's handle does not exist yet, this method searches up the control's parent chain until it finds a control or form that does have a window handle.
如果控件句柄尚不存在,则此方法沿控件的父级链搜索,直到它找到有窗口句柄的控件或窗体为止。
If the control's handle does not exist yet, this method searches up the control's parent chain until it finds a control or form that does have a window handle.
如果控件句柄尚不存在,则此方法沿控件的父级链搜索,直到它找到有窗口句柄的控件或窗体为止。
应用推荐