how to open another window in C# winforms
What object do I have to look into to make functionality in a button that when click, opens up a small other window in which I can edit a few things and have other controls on it like check boxes, combo boxes or whatever?
Thanks in advance
Create a class that inherits from windows.forms, instantiate a instance of it and then call either .Show() or .ShowDialog() depending on the whether or not you want the window to have exclusive control over the message pump.
Set an event that waits for it to be close somehow and then retrieve the values of the member variables.
Well, that''s how I would do it anyways.
Set an event that waits for it to be close somehow and then retrieve the values of the member variables.
Well, that''s how I would do it anyways.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement