I came across this post on stackoverflow.com while I was looking for ideas for WPF applications. The post was asking for an app which counted down the days until the start of the DevDays event. I decided to have a go at it, but decided to count the time until my next birthday.
It was quite a lot of fun learning how to make custom-shaped labels. The ones used in this timer made use of the "Ellipse" control. I could have placed the code for the control template in the main .xaml file, but I decided to put all of the styling XAML code in a ResourceDictionary. I figured that putting the templates and styles in a ResourceDictionary would make organising a lot easier, especially for more complex applications.
No comments:
Post a Comment