Simple question but surprisingly I couldn’t find any answer in MSDN or did I miss some links ?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If all you want to do is open a window this is quite simple, just instantiate a new instance of a window from code and then call
.Show()on the instance:You can then host UserControls within that window.
I don’t think you can open a user control without hosting it in a window, though I’ll do some tinkering to confirm that belief now.