Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

show a new form

Status
Not open for further replies.

keenanbr

Programmer
Oct 3, 2001
469
0
0
IE
I've just started teaching myself C#. This should be easy. How can I display a new form e.g. Click a button on one form and get a new form to display.

Regards
 
Try looking into MDI (multiple document interface)

good resource MDI

___________________________________________________________________
[sub]
onpnt.com
SELECT * FROM programmers WHERE clue > 0
(0 row(s) affected) -->faq333-3811
[/sub]

 
no, i just want to display an ordinary form in vb i'd do

frmWhatever.show

is it more complicated in C#

i thought this would be simple
 
its similar in C#

frmWhatever.Show();

or

frmWhatever.ShowDialog();
 
In .NET, forms are objects, so all you'd do is call the Show or ShowDialog method on it.

Chip H.


____________________________________________________________________
If you want to get the best response to a question, please read FAQ222-2244 first
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top