Tag: c-sharp Archives

Managing Records from XML File – One Punch Man Training App

Managing Records from Xml File
Share this to your friends

Share this to your friendsRemember we created an instance of our Progress class in our XmlLoader Load method and filled it with the data we gathered from our xml saved file. To be able to get that object we added a getter and setter accessor in the end of our XmlLoader class. We put the […]

Adding Chart – One Punch Man Training App

Adding Chart One Punch Man Training App
Share this to your friends

Share this to your friendsAfter filling our Progress object with the data we gathered from our xml file. We will now try to display it in our chart. Adding Chart to a Form Let’s put the chart in our SubjectForm. While in form design view open the Toolbox in the Data category, select Chart and […]

Get Data from XML File One Punch Man Training App

Get Data from XML File One Punch Man Training App
Share this to your friends

Share this to your friendsAfter creating a saved file we again call the same BeginLoadingSavedData method. This will again check for the now existing XML file. It will end the loop and we can now fetch the data from our saved file. In our SubjectForm.cs put this code outside the while statement. var loader = […]

XML File Saved Data One Punch Man Training App

Create Xml File One Punch Man Training App
Share this to your friends

Share this to your friendsI’m going to put all my daily records in an XML file. Hoped it can also handle a three year worth of records. I always wanted to learn how to use XML as a data storage. And for that I’m choosing XML for this project. Desired XML File format <Training StartOfTime=”” […]

Designing One Punch Man Training App

Designing One Punch Man Training App
Share this to your friends

Share this to your friendsIn the previous article, I’ve learned that to be able to become a superhero I needed to do some exercises. Four exercises to be exact. This must be completed everyday for three years. I needed to submit the exercises name and how many repetitions I did. Knowing this simple data will […]