I have been spending some time learning Silverlight recently. Although I sometimes encounter some inexplicable errors, the overall feeling is okay. The rich application it brings to us is really great. Worth learning!
I will share the results of my learning with everyone. I hope it will be helpful to everyone. I also hope to learn Silverlight with everyone. What I will bring today is to use Silverlight to make a small web clock.
I have given some simple instructions. It is worth mentioning that the layout of elements is very difficult. You can use tools such as Blend. The Data attribute of path is used to define the position and shape of the clock pointer. M represents the absolute position of the starting point of the pointer, and L represents the drawn line. The Data property is to draw a straight line from one coordinate to another.
Achieved synchronization with system time
Expand