在屏幕中央启动应用程序 [英] Start the application in center of the screen

查看:63
本文介绍了在屏幕中央启动应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好...

我只想第一次在屏幕中央启动应用程序..在那之后的关闭事件中,我将位置和大小存储在settings.setting.cs文件中.从那里读..

现在它从窗口的左上角开始..

谁能帮我...

提前谢谢...
Harish ..

Hi all...

i want to launch the application at the center of the screen at very first time only.. after that on the closing event i''ll store the location and size in the settings.setting.cs file.. after onwards i''ll read from there..

now it is starting at the top left corner of the window..

can anybody help me...

Thanks in advance...
Harish..

推荐答案

Form.StartPosition属性设置为CenterScreen.


在Google中找到此内容
表单中心屏幕 [
Found this in Google
A Form Center Screen[^]


这篇关于在屏幕中央启动应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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