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 :)
VulpesPosted Apr 20, 2014, 11:31 AM
So the corresponding code in WPF would be something like this:
using System.Windows.Threading;
// ...
VulpesPosted Apr 20, 2014, 5:46 PM
http://kynosarges.org/WpfPerformance.html
Amit ZivPosted Apr 20, 2014, 12:57 PM