I want to make a program in vb.net, that contains a form and a button. And whenever the user approaches the button with the cursor, the location of the button is changed. So that the user never manages to click on the button. The program is a fake harddisk format.
Questions:
1) Which event should I use for the button? I used the click event, but I want the button to move before the user manages to click it!
2)What are the boundaries of the location method? I mean the smallest coordinate is (0,0)top left, now what's the maximum coordinate? I tried Location.X.MaxValue,Location.Y.MaxValue, but it doesn't work?
Questions:
1) Which event should I use for the button? I used the click event, but I want the button to move before the user manages to click it!
2)What are the boundaries of the location method? I mean the smallest coordinate is (0,0)top left, now what's the maximum coordinate? I tried Location.X.MaxValue,Location.Y.MaxValue, but it doesn't work?