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