A prompted error dialog box

Have you messed around in InitializeComponent? Make sure you are not calling any method that tries to access the window before it is created.
 
Back
Top