Force create handle for Control

后端 未结 5 723
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-17 21:30

I\'m currently creating a silent print module. The current control I\'m using is, it\'s making sure that the control handle is already created (IsHandleCreated)

5条回答
  •  生来不讨喜
    2021-01-17 22:02

    You have to access the Handle property (put the result in a dummy variable or something). Look in Reflector; it forces handle creation.

提交回复
热议问题