调整大小从右到左? [英] How Resize From right side to left?

查看:80
本文介绍了调整大小从右到左?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想构建一个可扩展的面板而且我这样做但是当我想减小它的宽度时,当右前方处于是状态我的面板从右侧到左侧减小宽度,我想从左侧到右侧,我想尝试通过改变大小来改变位置,但它没有取得好成绩!



请帮助!!!!

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!!!!

推荐答案

稍微思考一下怎么样?这意味着同时更改表单的大小和位置:

How about just thinking a bit? It means changing the size and location of the form at the same time:
int increment = //... something
MyForm.Left -= increment;
MyForm.Width += increment;





-SA


这篇关于调整大小从右到左?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆