Dialog box

J

Jesper

Hi,

I'am migrating from MFC. In my application I would like
to have a "Settings"-dialog box to pop up on the screen
when invoked from the menu. In MFC you instantiated an
already designed dialog box, assigned values to its
fields, and read these when ok was pressed.

What is the philosophy when doing this in C# with
winforms.

best regards Jesper
 
V

Val Savvateev

There're really no guidelines on that. You still can use the same approach
you used in MFC. (Just declare controls on the form as internal or public).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top