How C#Winform implements split-screen display operation SOP

Split screen display operation SOP

  1. Customer needs
    The customer's on-site production line is long, and the distance between the cameras of different stations is far away. It is necessary to add a monitor to display the photo processing information of each station, and in order to save costs, only one industrial computer can be used, and the method of multi-screen display is adopted. satisfy customer's request.

  2. Hardware
    1. The industrial computer has more than 2 VGA interfaces (depending on the number of split screens required by the customer);

2. Split-screen graphics card (selected when the VGA interface of the industrial computer is insufficient);

3. Multiple monitors and VGA cables (generally an extended 10m, depending on the length of the on-site production line);

4. If necessary, a VGA adapter is required (male to female or female to male, depending on the site situation);

3. Implementation method

  1. Modify the form properties to achieve
    ①. Confirm the coordinates of the upper left corner of each display,

Right click on the display resolution on the desktop (or open Intel’s display control panel or the control program of different graphics cards), move each display to get the coordinate value of the upper left corner of each display, the coordinate value of each display is related to the resolution of the display, As shown in Figure 1 (you can see that there are multiple display sequences when multiple displays are connected).

If there is only one monitor, the coordinate value of the upper left corner is (0, 0) by default. If there are multiple monitors, and the resolution of multiple monitors is 1366*768, and the two monitors are arranged side by side, the coordinates of the second monitor The value is (1366, 0), and so on.

②. Set the main display, generally the display that needs to be displayed for the main display window;

③. Modify StartPosition to mannul, as shown in Figure 2;

④. Modify the Loc of the From form

Guess you like

Origin blog.csdn.net/weixin_44301520/article/details/130540664
SOP