Beispiel #1
0
        private void btsReturn_Click(object sender, EventArgs e)
        {
            FMain main = new FMain();

            this.Hide();
            this.Close();
            main.Show();
        }
Beispiel #2
0
        private void btDatTiec_Click(object sender, EventArgs e)
        {
            FMain main = new FMain();

            MessageBox.Show("Dat tiec thanh cong");
            this.Hide();
            this.Close();
            main.Show();
        }
Beispiel #3
0
        private void btLogin_Click(object sender, EventArgs e)
        {
            FMain main = new FMain();

            if (CheckAccount() == 1)
            {
                this.Hide();
                main.Show();
            }
            else
            {
                Application.Restart();
            }
        }