how can i redirect back to the Login form in win form application after invalid login
write now i am trying this in program.cs

```
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
// Application.Run(new frmLogin());
frmLogin fm = new frmLogin();

fm.ShowDialog();
if (fm.DialogResult == DialogResult.OK && Global.Login)
    Application.Run(new MDIParent1());
else if(fm.DialogResult==DialogResult.Cancel)
{
    MessageBox.Show("Wrong Username Or Password");
    Application.Run(new frmLogin());
    //fm.ShowDialog();
}

```