Exemplo n.º 1
0
        private void Hoadon_ClickHoaDon(string mahd)
        {
            this.Hide();
            frmCTHD frm = new frmCTHD(int.Parse(mahd));

            frm.ShowDialog();
            this.Close();
        }
Exemplo n.º 2
0
        private void btn_ThemHoaDon_Click(object sender, EventArgs e)
        {
            this.Hide();
            hd.TaoHoaDon();
            int     mahdtam = hd.LayIDHoaDon();
            frmCTHD frm     = new frmCTHD(mahdtam);

            frm.ShowDialog();
            this.Close();
        }