Exemplo n.º 1
0
        private void btnThem_Click(object sender, EventArgs e)
        {
            IteamHoaDon frm = new IteamHoaDon("");

            frm.ShowDialog();
            if (frm.check == true)
            {
                DataTable DT = _adapterHD.GetData();
                showHD.DataSource = DT.DefaultView;
            }
        }
Exemplo n.º 2
0
        private void btn_Click(object sender, EventArgs e)
        {
            string      maHD = showHD.CurrentRow.Cells["MaHD"].Value.ToString();
            IteamHoaDon frm  = new IteamHoaDon(maHD);

            frm.ShowDialog();
            if (frm.check == true)
            {
                DataTable DT = _adapterHD.GetData();
                showHD.DataSource = DT.DefaultView;
            }
        }