Disclaimer The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.
I'm re-writing a Windows Form application using WPF as a way tounderstand the basics. For a while I was banging my head against thewall trying to do something really simple.I was trying to launch another WPF window (form) as a modal dialiogusing ShowDialog as I would have done in wwindows Forms. Every time Iran the application a large, blank white window appeared when theShowDialog call was made. This confused me until I realised I hadsimply, accidentally deleted the designer-generatedInitializeComponent(); call from the Window's constructor.
These things always seem so obvious afterwards!
Remember Me