在屏幕中央启动应用程序

编程入门 行业动态 更新时间:2024-10-28 00:28:50
本文介绍了在屏幕中央启动应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

大家好... 我只想第一次在屏幕中央启动应用程序..在那之后的关闭事件中,我将位置和大小存储在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[^]

更多推荐

在屏幕中央启动应用程序

本文发布于:2023-11-23 08:52:44,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1620827.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:应用程序   屏幕   中央

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!