About two nights ago, I learned how to use an external XAML in a WPF application. It was so simple. Just read the XAML, parse it, and then wire the elements to your code. Now if this is how we are supposed to code in WPF, then I might just as well stick to WinForms. Fortunately XAML was not designed...
for a command to be undone, we need to store it somewhere. to facilitate this, we need to create a class for every command and we also need to create a class that will process and then store these commands upon request. interface ICommand { void Execute(); void UnExecute(); } the code above shows the...