本文介绍了调整大小从右到左?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想构建一个可扩展的面板而且我这样做但是当我想减小它的宽度时,当右前方处于是状态我的面板从右侧到左侧减小宽度,我想从左侧到右侧,我想尝试通过改变大小来改变位置,但它没有取得好成绩!
请帮助!!!!
I want build an expandable panel and i do it but when i want to reduce it width when righttoleft is in yes state my panel reduce width from right side to left and i want to do it from left side to right side,i try to change location by change size but it dose not have a good result!
please help!!!!
推荐答案
int increment = //... something
MyForm.Left -= increment;
MyForm.Width += increment;
这篇关于调整大小从右到左?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!