Пример #1
0
        private void gridControl1_DoubleClick(object sender, EventArgs e)
        {
            DataRow          row = bus.GetData().Rows[gridView1.FocusedRowHandle];
            frmChiTietHoaDon frm = new frmChiTietHoaDon(row["MAHD"].ToString());

            frm.Show();
        }
Пример #2
0
 public void DisplayHoaDon()
 {
     /* Load data from table HoaDon and display in gridView */
     gridHoaDon.DataSource = hoaDonBus.GetData();
     gridView1.ExpandAllGroups();
 }