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