|
-
July 10th, 2012, 05:04 AM
#1
Unable to open new form
Hi,
I have been programming in Java for a few years and am now trying to teach myself C#. I am using Visual Studio 2010 as my IDE.
I have created a basic form called AddVideo, and I have a separate file called Program.cs
I want Program.cs to display an instance of the AddVideo form.
So far I have tried to do:
Code:
AddVideo form = new AddVideo();
But when I run Program.cs, it displays the program for less than a second and then exits.
How can I fix this?
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|