0

I am trying to generate random points on the canvas. So i want to the random point on the screen to move to a new random location, when mouse touches it. How do i do this?? this is not happening with any of the mouse events. An example would be appreciated.

2
Contributors
6
Replies
7
Views
4 Years
Discussion Span
Last Post by Sahil89
0

Hi evamshi,
I have posted some questions regarding WPF here but I never got any reply. So I will suggest you to post it in Microsoft Expression forum.
There are many experts of WPF and Silverlight they will help you :)

And please provide more details about your idea/problem of above post.

Edited by Sahil89

0

So you want your object to follow your mouse? Or you want to achive anything more?

0

well let me explain you clearly....i am going to create a random object on the screen and when the mouse touches the object, the object should be relocated to another random location on the screen. This should be in WPF.

0

Hello evamshi,
I dnt have much time now sorry :(
But luckily last night I created a small application where object follows mouse. I think you are smart enough to modify code little bit :)
So take a look at it I am sure this will help you else will post solution tomorrow. Its in vb.net if you dont know VB.NEt convert that code on this site
:) good luck

Edited by Sahil89

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.