Example #1
0
        private void button4_Click(object sender, EventArgs e)
        {
            frmLogIn mf = new frmLogIn();

            mf.Show();
            this.Hide();
        }
        private void btnExit_Click(object sender, EventArgs e)
        {
            this.Hide();
            frmLogIn mf = new frmLogIn();

            mf.Show();
        }
        void Form2_FormClosing(object sender, FormClosingEventArgs e)
        {
            frmLogIn frm = new frmLogIn();

            this.Hide();
            e.Cancel = true;
            frm.Show();
        }