C#Windows项目 [英] c# windows projects

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

问题描述

我在系统中成功创建了Windows c#项目.在我安装其他系统或笔记本电脑时,我遇到了问题.就像我的表单按钮丢失了,它已从监视器屏幕中移出了;我该如何解决此问题,请帮帮我

i created windows c# project successfully in my system.while i am installing another system or laptop i am facing problem.like my forms buttons are missing it is moved out of the monitor screen; how can i solve this problem please help me

推荐答案

您应该了解如何创建可根据屏幕分辨率自动调整表单控件大小的应用程序.我已经给出了类似问题的解决方案.看看有CP答案 [ ^ ]
You should learn about to creat application which can Reize automatically form control according to screen resolution. I have already given a solution to similar question. take a look there-CP Answer[^]


也许这会有所帮助.如果将表单的大小设置为以下大小:

Maybe this will help. If you set size of form to the this size:

Windows.Forms.Screen.PrimaryScreen.Bounds.Width;
Windows.Forms.Screen.PrimaryScreen.Bounds.Height;



表单大小取决于屏幕大小.



form size will depend on screen size.


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

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