Пример #1
0
        private void btDatTiec_Click(object sender, EventArgs e)
        {
            FDatTiec datTiec = new FDatTiec();

            this.Hide();
            datTiec.Show();
        }
Пример #2
0
        private void btMenuMonAn_Click(object sender, EventArgs e)
        {
            FDatTiec datTiec = new FDatTiec();

            this.Hide();
            this.Close();
            datTiec.Show();
        }
Пример #3
0
        private void button1_Click(object sender, EventArgs e)
        {
            FDatTiec     datTiec = new FDatTiec();
            DialogResult mb;

            mb = MessageBox.Show("Thong Bao ", "Ban co muon thanh toan hoa don khong", MessageBoxButtons.YesNo);
            if (mb == DialogResult.Yes)
            {
                this.Hide();
                this.Close();
                datTiec.Show();
            }
        }