如何放大和缩小面板? [英] How to Zoom in and Zoom out a Panel?
本文介绍了如何放大和缩小面板?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个面板有
5个标签
1个按钮
两个第一行是垂直的,其他是在运行时水平绘制
在运行时绘制的椭圆
现在我想缩放此面板和每个控件在其中
如何解决此问题
解决方案
尝试使用Control.Scale方法>
http://msdn.microsoft.com/en-us/library/system.windows.forms.control.scale(v = vs.110).aspx [ ^ ]
I have a Panel which have
5 labels in it
1 Button
Two lines one is Vertical and other is Horizontal drawn at run time
An Ellipse drawn at run time
Now I want to zoom this Panel and every control in it
How can I solve this problem
解决方案
Try the Control.Scale method
http://msdn.microsoft.com/en-us/library/system.windows.forms.control.scale(v=vs.110).aspx[^]
这篇关于如何放大和缩小面板?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文