Re: Unable to open new form
Try
Code:
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new AddVideo());
}
}
Re: Unable to open new form
An IDE could help you avoid this sort of syntactical forgetfulness. I strongly recommend SharpDevelop since it is free, open-source.
Re: Unable to open new form
Quote:
Originally Posted by
curt_c
Try
Code:
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new AddVideo());
}
}
Thanks :-)
Re: Unable to open new form
Quote:
Originally Posted by
BioPhysEngr
An IDE could help you avoid this sort of syntactical forgetfulness. I strongly recommend
SharpDevelop since it is free, open-source.
I am using an IDE, Visual Studio 2010.
Re: Unable to open new form
Oh, well then use it to generate a WinForms project. :-)