title: Convert a Winform application to WPF application
body: <p>I have a little program which I made with WinForms and now I want to make it again using WPF. </p>
  
  <p>I'm new to WPF and I read that whatever you can do with XAML, you can also do without it, meaning using code only. </p>
  
  <p>Of course that you don't have any XAML when using Winforms. Can I use the same code for the WPF application that I used for the winforms application and get the same result? Or do I need to create and edit XAML? What are the advantages of using or not using XAML? </p>
  
  <p>Also, considering the past experience using Winforms, should I somehow change the way I'm thinking about design and implementation that worked for Winforms but are not that appropriate for WPF?</p>