see attached project.
It use CAAnimation to be more smooth that the one with the timer.
Narek
I have made a small change on the code ( added a panel and initialized the circle on the new panel. btw i dont know why but i had to change the left and top values while adding the circle to panel to a minus otherwise there are 2 circles ,1 is staying at its posiion and other one is circling . you can try it by changing the : paneloyun.AddView(pnlCircle,-100,-50,20,20)to its actual positions on your code)
anyway, When i use a canvas to draw a circle exactly on the circle path with this code:
dim cek as point
cek.X=CircleCenter.x
cek.Y=CircleCenter.y
cv.DrawCircle(cek.X,cek.Y,150,Colors.Black,False,1)
cv.Refresh
Now, the spinning circle has to spin just above the circle created with the canvas because their center is same and their radius is same but they are not. Am i doing stg wrong or ?
You can check the example.
TY