开发者

How to prevent DrawReversibleFrame from drawing outside?

开发者 https://www.devze.com 2023-01-07 08:04 出处:网络
How do I prevent DrawReversibleFrame from drawing outside of the SplitContainer and form as shown below?As you can see, the selection frame is being drawn around a control within the 开发者_运维技巧co

How do I prevent DrawReversibleFrame from drawing outside of the SplitContainer and form as shown below? As you can see, the selection frame is being drawn around a control within the 开发者_运维技巧container, which is bigger than the visible part of the container itself.

resize image http://img84.imageshack.us/img84/8704/resizes.png


SplitContainer.Panel2.Bounds gives you the rectangle of the portion of the right-hand side panel that's visible.

0

精彩评论

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

关注公众号