Create a Domain object ShortcutInfo


ShortcutInfo will have the following properties:
    string WorkingDirectory;
    string Arguments;
    string ImageFileName;
    string Text { get; set; }
    string ExecutablePath {get;set;}
More can be added in the future.
It will be used to cache the xml elements into a list of ShortcutInfos.


cyberknet wrote Jul 10, 2012 at 2:13 PM

I'd like to hear more about where you are going with this. I'm not opposed to it, but I'd like more detail as to why. Right now each button encapsulates its own configuration reading/saving, as well as storing property state.

This could encapsulation could still be retained with the right architecture though, and separating model from view certainly has some advantages... which is why I would like to hear more about your idea and how you would go about implementing it.

pvpatarinski wrote Jul 11, 2012 at 12:39 AM

I posted my response under the Discussion section

wrote Feb 13, 2013 at 12:51 AM