开发者

property grid shared between two forms

开发者 https://www.devze.com 2023-01-13 20:43 出处:网络
Is it possible a property grid could be shared between two forms? Right now, when the grid initializes and shown in a form开发者_开发技巧, everything\'s fine.

Is it possible a property grid could be shared between two forms?

Right now, when the grid initializes and shown in a form开发者_开发技巧, everything's fine.

But when another form hosting the same grid shown, the grid in the first form disappears.

Thanks.


Each instance of Control has one and only one window handle. If you add a control twice, it will always be removed from the first container (since there is only one handle). You must create a second property grid.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号