我使用c#使用Windows窗体 [英] I am working with Windows Forms using c#

查看:62
本文介绍了我使用c#使用Windows窗体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用c#使用Window Forms。当我最大化我的窗口对齐控件是不正确的。我的登录表单而不是出现在右侧显示在中间看起来非常糟糕。如何解决此问题。

I am working with Window Forms using c# . When i maximize my window alignment of the controls is not proper. My login form instead of appearing to the right side appears in the middle which looks very bad.How to resolve this problem.

推荐答案

使用控件的Anchor属性相对于表单的右侧修复它们。
Use the Anchor property of the controls to "fix" them relative to the right hand side of the form.


这篇关于我使用c#使用Windows窗体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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