Example #1
0
        private void frmDBSettings_FormClosed(object sender, FormClosedEventArgs e)
        {
            frmLogin2 frm = new frmLogin2();

            frm.Show();
            this.Hide();
        }
Example #2
0
        private void btnCancel_Click(object sender, EventArgs e)
        {
            frmLogin2 frm = new frmLogin2();

            frm.Show();
            this.Hide();
        }
Example #3
0
        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();
        }