Click here to Skip to main content
16,018,394 members
Home / Discussions / C#
   

C#

 
GeneralRe: looking for source code Pin
marwan_siala23-Feb-07 10:53
marwan_siala23-Feb-07 10:53 
GeneralRe: looking for source code Pin
Dave Kreskowiak23-Feb-07 12:31
mveDave Kreskowiak23-Feb-07 12:31 
GeneralRe: looking for source code Pin
Christian Graus23-Feb-07 18:08
protectorChristian Graus23-Feb-07 18:08 
GeneralRe: looking for source code Pin
Dave Kreskowiak24-Feb-07 5:24
mveDave Kreskowiak24-Feb-07 5:24 
QuestionRe: looking for source code [modified] Pin
marwan_siala26-Feb-07 1:25
marwan_siala26-Feb-07 1:25 
QuestionValidate Textbox to acept numeric values with in a DATALIST Pin
tossurboss200223-Feb-07 6:30
tossurboss200223-Feb-07 6:30 
QuestionParent Child relationship issue Pin
Saira Tanwir23-Feb-07 6:01
Saira Tanwir23-Feb-07 6:01 
AnswerRe: Parent Child relationship issue Pin
Dave Kreskowiak23-Feb-07 7:51
mveDave Kreskowiak23-Feb-07 7:51 
It's not really clear what you're talking about so...

There can only be one top level startup form. This form holds your application's message pump. If this form gets closed, your entire application closes with it.

Now, the rest depends on what you mean by Child forms. If you simply launching a child form by creating a new form object and showing it with .Show() or .ShowDialog(), then you can have multiple levels of children, like this:
Startup Form
         |
         +--->Main Form
         |        |
         |        +--->Child Form
         |        |
         |        +--->Child Form
         |                 |
         |                 +--->Child Form
         |
         +--->2nd Main Form
                  |
                  +--->Child Form
                  |
                  +--->Child Form

If you're talking about MDI Child forms, you can have multiple parent forms, each with it's own set of MDI Children. But, under Windows, it's impossible to have an MDI Child be a MDI Parent to another MDI Child form. In other words, a form cannot be both and MDI Child AND MDI Parent at the same time. You can do this:
Startup Form
         |
         +--->MDI Parent Form
         |        |
         |        +--->MDI Child Form
         |        |
         |        +--->MDI Child Form
         |
         +--->2nd MDI Parent Form
                  |
                  +--->MDI Child Form
                  |
                  +--->MDI Child Form

You CAN NOT do this:
Startup Form
         |
         +--->MDI Parent Form
                  |
                  +--->MDI Child Form
                           |
                           +--->MDI Child Form
                           |
                           +--->MDI Child Form



Dave Kreskowiak
Microsoft MVP - Visual Basic


AnswerRe: Parent Child relationship issue Pin
Saira Tanwir24-Feb-07 3:47
Saira Tanwir24-Feb-07 3:47 
GeneralRe: Parent Child relationship issue Pin
Dave Kreskowiak24-Feb-07 5:45
mveDave Kreskowiak24-Feb-07 5:45 
JokeRe: Parent Child relationship issue Pin
mike montagne23-Feb-07 14:26
mike montagne23-Feb-07 14:26 
QuestionStoring Application Settings Pin
mail57235223-Feb-07 5:59
mail57235223-Feb-07 5:59 
AnswerRe: Storing Application Settings Pin
kubben23-Feb-07 6:04
kubben23-Feb-07 6:04 
AnswerRe: Storing Application Settings Pin
BoneSoft23-Feb-07 6:07
BoneSoft23-Feb-07 6:07 
QuestionPublic member vs. public property Pin
cueshot23-Feb-07 5:45
cueshot23-Feb-07 5:45 
AnswerRe: Public member vs. public property Pin
kubben23-Feb-07 5:49
kubben23-Feb-07 5:49 
AnswerRe: Public member vs. public property Pin
BoneSoft23-Feb-07 5:50
BoneSoft23-Feb-07 5:50 
GeneralRe: Public member vs. public property Pin
cueshot23-Feb-07 6:04
cueshot23-Feb-07 6:04 
AnswerRe: Public member vs. public property Pin
Stefan Troschuetz23-Feb-07 5:51
Stefan Troschuetz23-Feb-07 5:51 
AnswerRe: Public member vs. public property Pin
Dave Kreskowiak23-Feb-07 5:56
mveDave Kreskowiak23-Feb-07 5:56 
GeneralRe: Public member vs. public property Pin
Christian Graus23-Feb-07 7:32
protectorChristian Graus23-Feb-07 7:32 
AnswerRe: Public member vs. public property Pin
Christian Graus23-Feb-07 7:31
protectorChristian Graus23-Feb-07 7:31 
GeneralRe: Public member vs. public property Pin
BoneSoft23-Feb-07 8:03
BoneSoft23-Feb-07 8:03 
GeneralRe: Public member vs. public property Pin
mike montagne23-Feb-07 13:22
mike montagne23-Feb-07 13:22 
GeneralOh... and about Serialization and IDE processes Pin
mike montagne23-Feb-07 13:35
mike montagne23-Feb-07 13:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.