Hi all I m making a simple game in C# (Catch ME). In this game there will be a button to catch. when a user moves the pointer to click on to it. It moves further and doesnt get clicked. i have done it by changing the location of the button. But by doing so, the button moves in a fixed set location and also when pointer is brought near the form boundries the button gets out of the form or becomes invisible. So i want the some random number be generated and assigned to the location property of the button so that button moves randomly. Also ensure that it must be within the form boundries.
Thanks in advance for any Idea