且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

自动更改屏幕分辨率

更新时间:2022-01-05 23:21:33

请使用
MyBase.SetBounds(x:=Screen.PrimaryScreen.Bounds.X, y:=Screen.PrimaryScreen.Bounds.Y, height:=Screen.PrimaryScreen.Bounds.Height, width:=Screen.PrimaryScreen.Bounds.Width)



或者您可以使用表单最大化属性(最大化屏幕)

检查一次



or you can use form maximize property (maximize the Screen)

check it once