开发者

How to prevent DrawReversibleFrame from drawing outside?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜