Home > Net >  C#
C#

Time:09-28

C # to add multiple forms, why only run the original

CodePudding user response:

You somehow send a project structure and the Program. The start which form in the cs

CodePudding user response:

reference 1st floor csdnFUCKINGSUCKS response:
you somehow send a project structure and the Program. The cs in which form start

Can you ask your contact

CodePudding user response:

Brother, are you trying to achieve what kind of effect, can say something about

CodePudding user response:

Is there are multiple Windows forms, but can only run one

CodePudding user response:

reference 4 floor qq_45165610 response:
is there are multiple Windows forms, but can only run a

The start was only start a main form, child form do you want to start, in the main form is like in another post, I talk to you said,
If you don't send a code come out to see screenshots, I don't understand why don't you understand

CodePudding user response:

young programmer reference 5 floor small don's reply:
Quote: refer to 4th floor qq_45165610 response:

Is there are multiple Windows forms, but can only run a

The start was only start a main form, child form do you want to start, in the main form is like in another post, I talk to you said,
If you don't send a code come out to see screenshots, I don't know why don't you know

How to start in the main form, I am a little white, just learn, ha ha

CodePudding user response:

young programmer reference 5 floor small don's reply:
Quote: refer to 4th floor qq_45165610 response:

Is there are multiple Windows forms, but can only run a

The start was only start a main form, child form do you want to start, in the main form is like in another post, I talk to you said,
If you don't send a code come out to see screenshots, I don't know why don't you know

Don't add a contact pictures ask you

CodePudding user response:

 
The Form FRM=new Form ();
FRM. The show ();

Such as a button in the main Form lanes you button control, add in the button click event I write the code, change the Form to open the child Form name you want,
Then run up and click on the button in the main form, the form will come out the
I have already said very clearly
You should direct how to open the window to the baidu not

CodePudding user response:

refer to the eighth floor young programmers don's reply:
 
The Form FRM=new Form ();
FRM. The show ();

Such as a button in the main Form lanes you button control, add in the button click event I write the code, change the Form to open the child Form name you want,
Then run up and click on the button in the main form, the form will come out the
I have already said very clearly
You should direct how to open the window to the baidu not

Problem has been solved, thank you

CodePudding user response:

A primary form to the new child form
  •  Tags:  
  • C#