Advertisement
tolikpunkoff

FormBorderStyle None form move

Jan 27th, 2018
421
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.26 KB | None | 0 0
  1.         private void frmTest_MouseDown(object sender, MouseEventArgs e)
  2.         {          
  3.             base.Capture = false;
  4.             Message m = Message.Create(base.Handle, 0xa1, new IntPtr(2), IntPtr.Zero);
  5.             this.WndProc(ref m);
  6.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement