Tag:Picture frame

  • There is no spring box solution in the bottom most view of idea

    Time:2020-10-14

        I have encountered the problem that the spring view box as shown in the figure disappears after the idea opens a project, and the view tool windows can’t find the problem. If you don’t have this, it’s very annoying. After searching the Internet for a long time, there is no data, so make […]

  • Implementation of WPF custom screenshot

    Time:2020-9-8

    //Record mouse press public static bool MouseBtnIsDown = false;//Starting coordinates of Screenshot public static Point StartPoint;//The length and width of the screenshot double width = 0; double height = 0; //Mouse down events public void grid_mouseleftdown(object sender, MouseButtonEventArgs e) {//Record press action MouseBtnIsDown = true;//Record the coordinates when the mouse is pressed Point p = […]

  • I wrote a screenshot tool

    Time:2020-9-6

    It’s very simple, that is, first take a full screen shot, and then crop it as needed. Therefore, to get the size of the desktop, the code is as follows: public class PrimaryScreen { #region Win32 API [DllImport(“user32.dll”)] static extern IntPtr GetDC(IntPtr ptr); [DllImport(“gdi32.dll”)] static extern int GetDeviceCaps( IntPtr hdc, // handle to DC int […]