Recent: Throttle issue?

Mend Application Development

Mend Software, Application Development
Find out how to mend it for free.

Ask Question
Mend Software, Application Development
Free repair help for application development

Mend > Application Development

Mend Software, Application Development

Could someone give me a simple show form example for C#?

I'm struggling with the basics in C#
I can't show a form. In VB.net this worked....
Dim testDialog As New Form2()
testDialog.show

What is the equivalent in C#?

Tas
April 2004
form myForm = new Form1;
myForm.ShowDialog();


The first line here declares myForm as new instance of the form you have created Form1.

The second line here displays the form (modally.) To show non-modal forms use ".Show();"

pazy
August 2006

Automatic Answer

We may have found other answers which could help you.

Click here for Could Someone Give Me Form Example C

Mend Software, Application Development
Free repair help for application development

How to mend ...

Find out how to mend just about anything howtomendit.com for free repair help, information and advice.
Mend Software, Application Development
Free repair help for application development