Block zooming and panning of graphics drawn in C # form A real-time refresh interface is drawn in the form. The interface is very large, and there are scroll bars along the horizontal and vertical axes. The function I want to achieve is to zoom and display the interface in line within the visual range of the screen after clicking a button. Now the problem I encounter is that I only zoom and pan the whole interface, but divide the relatively long graphics into two parts, one part of which is displayed on the top of the interface, The other part is displayed at the bottom of the interface, so I won't

Block zooming and panning of graphics drawn in C # form A real-time refresh interface is drawn in the form. The interface is very large, and there are scroll bars along the horizontal and vertical axes. The function I want to achieve is to zoom and display the interface in line within the visual range of the screen after clicking a button. Now the problem I encounter is that I only zoom and pan the whole interface, but divide the relatively long graphics into two parts, one part of which is displayed on the top of the interface, The other part is displayed at the bottom of the interface, so I won't

There are few two classes, one is the entity class, which is used to represent a single address book
One is the management class, used for the operation of the address book
Consider using generic collection classes