private void frmDBSettings_FormClosed(object sender, FormClosedEventArgs e) { frmLogin2 frm = new frmLogin2(); frm.Show(); this.Hide(); }
private void btnCancel_Click(object sender, EventArgs e) { frmLogin2 frm = new frmLogin2(); frm.Show(); this.Hide(); }
private void tmr_Tick(object sender, EventArgs e) { //after 3 sec stop the timer tmr.Stop(); //display mainform frmLogin2 mf = new frmLogin2(); mf.Show(); //hide this form this.Hide(); }