Browse by Tags

All Tags » Iterative Development (RSS)
I had a new thought: what if you could use other criteria. Say, you had a values list, and in that values list, you could store values such as car mileage, or something else (car mileage was the first scenario I thought up). So, we know that we want to...
Posted by bmains | with no comments
I found a flaw in my test, which was less detectable since I didn't have a good range test. The values were six months apart from each other, and I didn't realize that the partial value was calculated incorrectly. It should have been instead this...
The story for tasks can be deleted was a snap. All I had to do is work with the ListView, to delete the item upon keypress. This only works with a selected item. private void lvTasks_KeyUp(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.Delete...
Posted by bmains | with no comments
I finished the file open method as such: private void msiFileOpen_Click(object sender, EventArgs e) { string file = this.GetFileFromDialog(this.ofdDialog); if (!string.IsNullOrEmpty(file)) { StreamReader reader = new StreamReader(file); string xml = reader...
Posted by bmains | with no comments
I've decided to work on the opening of a file. I've created an OpenFileDialog (and a SaveFileDialog for later) to open a .tl file, which is the extension I'll use to set it up. My dialog box looks something like this: this.ofdDialog.DefaultExt...
Posted by bmains | with no comments
To make it easier, I created this following method: public void AddAttribute(string name, object value) { this.Attributes.Add(new MetadataAttribute(name, value)); } This made it easier to add methods, but it added overhead. I changed the MetadataAttribute...
Conceptually, I thought about the serialization process, and how I used the XmlSerializer object to serialize my objects into XML previously. However, this wouldn't work because of how the attributes work in the collection; at least, from what I know...
I began attempting to work the file save/load process as part of the first iteration. I started to create a method like this for the task object. public string SaveToXml() { XmlDocument document = new XmlDocument(); //Create a root node called task XmlElement...
Posted by bmains | 1 comment(s)
The adding new tasks screen creates a new task, and notifies the main form that a new task is created. It does this through an event; the information for the new item is passed to an event argument, an event is fired, and the new object is created in...
Posted by bmains | with no comments
To assist with the requirements, I chose the listview to view the tasks with. I chose the menu strip because it is easier to discern menu options from toolbar buttons. I separated this listview functionality into a user control, so that it would be possible...
Posted by bmains | with no comments
The choice was to be between menus, toolbars, or some other means, to note the features we wanted to implement. I made the choice to use menus, as this was clear and to the point, and we only had a few items anyway; later, at some point, we can add toolbars...
The approach to using the AOM Property model was this: I have a MetadataEntity object, which contains an attributes collection of type MetadataAttributeCollection, a collection of MetadataAttribute classes. This MetadataAttribute class has a Name, Type...
Before we continue on with the tests, I decided to post about the pattern I'm using. In reading more about patterns, I've decided to use this approach to properties in my business objects: http://www.codeproject.com/gen/design/AOM_Property.asp...
I'm using a custom collection class that I wrote previously to handle these sorting capabilities, mostly because I know how the class works, and so I'm comfortable and don't view it as a risk in my development process. But I don't have...