表格启动位置 [英] Form start up location
本文介绍了表格启动位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我希望表格从屏幕的右上角开始.
我该怎么办?
Hi,
I want my form starts at right corner of the screen.
what should I do?
thanks.
推荐答案
尝试将其放入Form.Load:
Try putting this in Form.Load:
Left = Screen.PrimaryScreen.Bounds.Width - Width;
Top = 0;
这篇关于表格启动位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文