I have included the distributable Apex.dll at the top of the article, both of these projects will need to have it as a dependency. We'll be using the MVVM design pattern in this project, I am using my own lightweight library Apex. In SolitaireGames, delete ' UserControl1.xaml', we don't need it. In the project 'Solitaire', add a reference to the project 'SolitaireGames'. We'll keep it in a separate library in case we ever want to add it to another project. This is where we'll stick the solitaire game code and the control that hosts it, Immediately add a new WPF User Control Library to the solution named 'SolitaireGames'. NET 4, I recommend you do the same so the code I've written will work for you). Step 1: Build the ProjectsĬreate a new WPF application named Solitaire (I've targeted. However, some bits that mightīe repetitive or are generic will be brushed over - if anyone feels anything is missing, then please comment and I'll elaborate. I'm going to go through the whole project step-by-step, so I'm building a brand new project from scratch and taking you through it. To get in but I think the time has come to draw a line under the project - I'm leaving a list of nice-to-have features at the end of the article so if anyone fanciesĬontributing, then go right ahead! Step-By-Step There are a couple more things I would have loved I've been meaning to write this up for a while but it has turned into one of those 'never quite done' projects.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |