1
Reply

Its never happen to me. How to resolv it?

Ask a question
Israel

Israel

10 years ago
703
1
Hi!
 
I have many forms each one with his own name.
But what happen? Since this morning I coulnt choose the form i want to appear first in running time. Mean, in my file "program.cs" when I write:
....
Aplication.Run(new splashScreen());
 
Then when I start to run my program its start ALWAYS and ONLY with the latest form I used yestersday (for example, senha_entrada).
See what is in my "program.cs":
 
using System;
using System.Collections.Generic;
using System.Link;
using System.Windows.Forms;
 
namespace elSoft_FactuStocks
{
      [STAThread]
      static void Main()
      {
                /*Application.EnbleVisualStyles();
                    Application.SetcompatibletextRenderingDefault(false);
                    Application.run(new SplashScreen());*/
                   
}
}
}
 
As you can see even I uncommented when I run there is another form that appear. But that form isnt include among one of these lines of code. What wrong?

Answers (1)