Weird location while moving WinForms picbox
- by acidzombie24
I couldnt figure the problem out so after debugging i finally decide to write the below.
Why is the location jumping around?! 147 86 to 294 212 then back every callback?
pic.MouseMove += my_MouseMove;
my_MouseMove(object sender, MouseEventArgs e)
Console.WriteLine("{0} {1} {2} {3}", e.X, e.Y, e.Location.X, e.Location.Y);
147 86 147 86
294 212 294 212
147 86 147 86
294 212 294 212
147 86 147 86
294 212 294 212