Visual C# Help...

iDenTiTy

Expert Member
Joined
Apr 14, 2007
Messages
3,899
Reaction score
2
Location
Fourways (vicinity)
Ok guys sorry, but here goes...

:o

I have my main form with a button right...

I click the button and I want it to load a NEW Form with other stuff on it in the same window...

I have added a new windows form, but I dunno how to make that form load when the button is pressed.... :confused:

Any help please.
 
NewForm frmNewForm = new NewForm();
frmNewForm.Show(); or frmNewForm.ShowModal();

??
 
That works, but it opens a NEW form in a DIFFERENT window...

I wish I started using Visual C# from the start, as opposed to SharpDevelop...

:(
 
Ok guys sorry, but here goes...

:o

I have my main form with a button right...

I click the button and I want it to load a NEW Form with other stuff on it in the same window...

I have added a new windows form, but I dunno how to make that form load when the button is pressed.... :confused:

Any help please.

there is always tab control or the panel method.....

I wish I started using Visual C# from the start, as opposed to SharpDevelop... :(

there is always http://www.learnvisualstudio.net/

Though it would be better to get someone to tutor you in between that has good programming habits and experience as books and tutorials can go only so far and not teaching you real world applications and the proper way of programming as any one can be a programmer (copy + paste bunnies comes to mind aswell), but not good one at it.

-make sure that you understand everything that you are doing and using to get a result or when trying to accomplish something, F1/google and read up on all those methods, words, whys and whats

you can also give devshed a try for forum to programming questions
http://forums.devshed.com/
 
Last edited:
Top
Sign up to the MyBroadband newsletter
X