private void _backLogin(string msg) { Login login = new Login(msg); login.Show(); this.Close(); }
protected void OnMenuItemUserSwitch(object sender, EventArgs e) { Login loginWindow = new Login(""); loginWindow.Show(); this.Close(); }
protected override void OnStartup(StartupEventArgs e) { base.OnStartup(e); Login login= new Login(); login.Show(); }