1
When I run my project, fmPrincipal is always open, however, I decided to create a fmLogin to be displayed first and the user login to it.
How do I set up fmLogin to be displayed first?
1
When I run my project, fmPrincipal is always open, however, I decided to create a fmLogin to be displayed first and the user login to it.
How do I set up fmLogin to be displayed first?
7
In his method Main()
, calling Application.Run(new fmLogin());
, passing as parameter a new instance of fmLogin
.
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new fmLogin());
}
Thus, the application will start by fmlogin()
.
Browser other questions tagged c# winforms
You are not signed in. Login or sign up in order to post.