Login logform = new Login(); logform.Dispose(); //i tried logform.close(), and this.close() (throwing error) //Login successful then navigate to Form2. DbNavigate.frmDataGridPaging form = new DbNavigate.frmDataGridPaging(); form.ShowDialog(this);
Application.Run(new Login());
this.close()
this.close() //Login successful then navigate to Form2. DbNavigate.frmDataGridPaging form = new DbNavigate.frmDataGridPaging(); form.ShowDialog(this);
this.Close();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)