Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / March 2006

Tip: Looking for answers? Try searching our database.

How do I spawn several forms each as if they're their own application (can have their own modal forms)

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Nihimon - 29 Mar 2006 23:55 GMT
I want to open two forms, Form1 and Form2, from my MainForm in such a
way that Form2 can then open Form3 with ShowDialog and NOT have Form3
block access to Form1 or the MainForm.

Any ideas?
trevor.moody@gmail.com - 30 Mar 2006 12:12 GMT
Look at Application.Run
Nihimon - 30 Mar 2006 17:04 GMT
I have looked at Application.Run extensively but I'm not seeing any
real clear documentation on how/whether to use it multiple times in a
single application.

Is it reasonable to, for each "system" that I want to open, spawn a new
thread and inside of that thread call Application.Run?
Cerebrus - 30 Mar 2006 14:16 GMT
Hi Nihimon,

What do you mean by "...NOT have Form3 block access to Form1 or the
MainForm."

Regards,

Cerebrus.
Nihimon - 30 Mar 2006 17:07 GMT
Consider a simple windows application that has a MainForm with two
buttons on it.

Button1 should open Form1 and Button2 should open Form2.

Form1 will then open Form1A with ShowDialog.

When that happens, I want to have opened Form1 and Form2 from the
MainForm in such a way that the *only* form that Form1A blocks is
Form1.  The user should be able to select the MainForm or Form2 and
work normally, even while Form1A is opened modally blocking access to
Form1.

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.