CodePudding user response:
Enclosing ClientRectangle, or enclosing ClientSizehttps://docs.microsoft.com/zh-cn/dotnet/api/system.windows.forms.control.clientrectangle
CodePudding user response:
Um participant raphics. Drawimage (img, new rectangle (0, 0, me. Width, me. Height))Drawing the image so you as the change of the form and change, if it is drawn in the form, can also directly with me. Clientrectangle,
I use vb.net if is c #, enclosing clientreactangle is ok