i had this line of code in winforms (greenCar is picturebox control):
int speed = 5
greenCar.Top = greenCar.Top + speed;
basically im trying to move the picture downwards in each tick of the timer which this function running in.
what code line is doing the same thing in WPF application?
thanks in advance :)

VulpesRank #55 · 29.2K reputationPosted Apr 20, 2014, 7:31 AM EDT
So the corresponding code in WPF would be something like this:
using System.Windows.Threading;
// ...
Amit Ziv42 reputationPosted Apr 20, 2014, 8:57 AM EDT
VulpesRank #55 · 29.2K reputationPosted Apr 20, 2014, 1:46 PM EDT
http://kynosarges.org/WpfPerformance.html