PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Framework Forms Open form

Reply

Open form

 
Thread Tools Rate Thread
Old 03-08-2005, 06:45 PM   #1
=?Utf-8?B?QXJuZQ==?=
Guest
 
Posts: n/a
Default Open form


How do I open a winform from another winform?
  Reply With Quote
Old 03-08-2005, 07:08 PM   #2
Tim Wilson
Guest
 
Posts: n/a
Default Re: Open form

You'll need to create an instance of it and then call it's Show or
ShowDialog method.

[VB]
Dim f as New Form2()
f.Show()

[C#]
Form2 f = new Form2();
f.Show();

--
Tim Wilson
..Net Compact Framework MVP

"Arne" <Arne@discussions.microsoft.com> wrote in message
news:4BF68ABB-35AB-4600-B07F-7030E3A7C6EA@microsoft.com...
> How do I open a winform from another winform?



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off