screen size c# code example Example: how to get the width of the screen C# Screen.FromControl(this).Bounds