C# how to change form and others common control PC resolution
I want to change form and others common control the resolution size of PC开发者_高级运维.
sample: if PC resolution 1204.auto 1024 and other common control change.
Find screen height and width and assign them:
Screen scr = Screen.PrimaryScreen;
int newWidth = scr.Bounds.Width;
int newHeight = scr.Bounds.Height;
精彩评论