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); }
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)); }