I am using Visual Studio 2008 Pro. I have a WPF form and a button. When the user clicks the button, I want to open another window, which is more complex than a simple messagebox - it would query a database to get data and such.

So, what do I write in the
private void OpenTheOtherWindow_Click(object sender, RoutedEventArgs e)
            //open window, please

Surprisingly, I was not able to find anything on this topic anywhere on the net. All reference webish apps, but this is a Windows application.