Ok stop worrying about the program.cs. Your MAIN entry point is what
matters, it could be anywhere.
You need to tell us the compiler error. In MyNetPlaces a form for a start?
Below should work.
Also make sure if MyNetSPaces is in a different namespace this is included
via the 'using' operator.
[STAThread]
static void Main()
{
Application.Run(new MyNetPlaces());
}
"nbohana" <nb*****@discussions.microsoft.comwrote in message
news:54**********************************@microsof t.com...
Daniel, My application does not have a program.cs. this code is in my
'Owner.cs' #endregion
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.Run(new Owner());
}
I tried changing 'new Owner' to 'new MyPetPlaces' and got complie errors.
Was this the right thing to do?
HELP!!!
--
Norm Bohana
"Daniel" wrote:
>look in your Program.cs, it has application.run(someform) change someform
for the other one
"nbohana" <nb*****@discussions.microsoft.comwrote in message
news:76**********************************@microso ft.com...
>I have a Visual C#.Net Windows application. I would like to replace the
initial screen with another screen. Can you tell me how to do this.
The
original screen 'Owner-Info', I would use 'MyPetPlaces' which will
call
'Owner-Info'.
--
Norm Bohana