The simple way is to just drop a button and double click it to program the logic. However, if you plan to build a real-world application, that approach will soon become unmanageable, and hard to maintain and evolve over time. I suggest you take a look at the new MS User Interface Process Application Block. It helps build UI navigation and control using an extended MCV (model-view-controller) pattern, which will also make your application easily portable to Windows Forms in the future if you have to.
Dig Deeper on Win Development Resources
Related Q&A from Daniel Cazzulino
Here Daniel Cazzulino explains how to load a DSL (domain specific language) domain model instance file programmatically. This requires the .NET type ...continue reading
Here we offer a glimpse at 12 of .NET development expert Danny Cazzulino's top ASP.NET questions and answers.continue reading
C# developers should NOT be modifying InitializeComponent method in the code-behind (or any of the variable definitions) by hand.continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.