Form.CreateHandle 方法

定义

为窗体创建句柄。Creates the handle for the form. 如果派生类重写了该函数,它必须调用基实现。If a derived class overrides this function, it must call the base implementation.

protected:
 override void CreateHandle();
protected override void CreateHandle ();
override this.CreateHandle : unit -> unit
Protected Overrides Sub CreateHandle ()

异常

Form 的句柄已创建。A handle for this Form has already been created.

适用于

另请参阅