Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //MADE BY PAREX |PEOPLE GIVING U THIS LINK IS COPY RIGHT
- Mouse Move Event
- -----------------------------------------------------------
- if (e.Button == MouseButtons.Left)
- {
- this.Left += e.X - lastPoint.X;
- this.Top += e.Y - lastPoint.Y;
- }
- ------------------------------------------------------------
- Mouse Down Event
- -----------------------------------------------------------
- lastPoint = new Point(e.X, e.Y);
- Declare variable as shown in the video
- -----------------------------------------------------------
- Point lastPoint;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement