-
December 28th, 2009, 02:48 PM
#1
Opening a new window in a Windows Application
Hello!
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
Code:
private void OpenTheOtherWindow_Click(object sender, RoutedEventArgs e)
{
//open window, please
}
procedure?
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.
Thanks!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|