VisualStudioFeeds

All Visual Studio blogs in one place

AddThis Social Bookmark Button
The Chronometer application I have been building for Windows Phone 7 is coming along nicely! This has mostly been a weekend project, as I don’t find time to get to it during the working days. The Stopwatch functionality is almost complete. In the last post I introduced the concept of data binding and persistence. I can now record a series of Stopwatch events, name the events, and when I exit (or tombstone) the application, I can persist them into a file. In this post I will incrementally refine the application in a few different areas. The
first one is to make the code for saving / loading the timings to and from the file lot simpler, by leveraging the power of .NET serialization. If you remember, I had stored the timings from the Stopwatch in an in-memory data structure defined as follows: This is essentially an ObservableCollection object which represents the collection of timings. The object itself takes care of providing notifications when items get added, removed, or when the whole list is refreshed. The definition above takes a template for the class which represents individual elements in the...(Read whole news on source site)

Search

Subscribe

Enter your email address:

Delivered by FeedBurner

Increase your website traffic with Attracta.com

Contact

Email:
Subject:
Message:
Anti-spam: How many eyes has a typical person?

Follow us on FB

Home : Blog List : Amit Chatterjee's Blog : Continuing with the Windows Phone applications–.NET Serialization