I have a flag if set I would like a connection Dialog window to showup on startup. In App.xaml.cs in the Application_Startup event handler I have the code to show the window. What is happening is the splash screen shows (a png set to splash screen), the dialog pops up for a second then closes and the main WPF window displays. I would like the process to wait until the user closes the dialog window. Oh and the dialog window is not WPF it's a Windows.Form.
The form is this http://blogs.msdn.com/b/vsdata/archive/2010/02/02/data-connection-dialog-source-code-is-released-on-code-gallery.aspx
Any ideas?
Thanks
Rick