internal static Rectangle ConstrainToScreenWorkingAreaBounds(Rectangle bounds) { return(WindowsFormsUtils.ConstrainToBounds(Screen.GetWorkingArea(bounds), bounds)); }
internal static Rectangle ConstrainToScreenBounds(Rectangle bounds) { return(WindowsFormsUtils.ConstrainToBounds(Screen.FromRectangle(bounds).Bounds, bounds)); }