I want to create a window from options and block other windows in my application.
Such a window is in the Visual Studio, for example – Tools -> Options.
How can I do that?
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.
Say your window is called
OptionsWindow. You would just need to use theShowDialog()method. Example:This will make the options window a modal dialog. All other windows will be disabled until the options window is closed.