Ejemplo n.º 1
0
        private void MouseCoord_Load(object sender, EventArgs e)
        {
            int initialStyle = WinProcess.GetWindowLong(this.Handle, -20);

            WinProcess.SetWindowLong(this.Handle, -20, (uint)(initialStyle | 0x80000 | 0x20 | 0x00000080));
            this.Size     = new Size(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height);
            this.Location = new Point(0, 0);
            xLine.Size    = new Size(Screen.PrimaryScreen.Bounds.Width, 1);
            yLine.Size    = new Size(1, Screen.PrimaryScreen.Bounds.Height);
        }
Ejemplo n.º 2
0
        private void Recording_Load(object sender, EventArgs e)
        {
            int initialStyle = WinProcess.GetWindowLong(this.Handle, -20);

            WinProcess.SetWindowLong(this.Handle, -20, (uint)(initialStyle | 0x80000 | 0x20 | 0x00000080));
        }