static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new loginScreen());
}
then my code for when the login button is clicked is private void logIn_Click(object sender, EventArgs e)
{
loginScreen loginscreen = new loginScreen();
loginscreen.Hide();
mailer mailer = new mailer();
mailer.Show();
}
when i click the log in button the mailer opens up like i would want however the loginScreen just moves behind the mailer form and is just chillin there.. and i have tried many variations of this concept and still no luck.. am i just using the wrong code?anyone who can shed a light on this is my hero! thanks :D


Sign In
Create Account

Back to top









