Exemplo n.º 1
0
 private void frmNHKSCT_Load(object sender, EventArgs e)
 {
     XuLyGiaoDien.OpenForm(this);
     khachSanOBindingSource.DataSource = new D_KHACHSAN().DuLieuKSBL(_nCC);
     nCCOBindingSource.DataSource      = new D_NHACUNGCAP().DuLieu(true);
     daiLyOBindingSource.DataSource    = new D_DAILY().All();
     GVDSC.BestFitColumns();
 }
Exemplo n.º 2
0
 private void frmNHVH_Load(object sender, EventArgs e)
 {
     XuLyGiaoDien.OpenForm(this);
     colGiaHoan.FieldName = _nCC ? "HangHoan" : "GiaHoan";
     giaoDichOBindingSource.DataSource = new D_GIAODICH().DuLieuVeHoan(_nCC, _NCC);
     nCCOBindingSource.DataSource      = new D_NHACUNGCAP().DuLieu(true);
     daiLyOBindingSource.DataSource    = new D_DAILY().All();
     GVDSC.BestFitColumns();
 }
Exemplo n.º 3
0
 private void frmNHKS_Load(object sender, EventArgs e)
 {
     XuLyGiaoDien.OpenForm(this);
     colGiaThu.FieldName = _nCC ? "GiaNet" : "GiaHeThong";
     khachSanOBindingSource.DataSource = new D_KHACHSAN().DuLieuKS(_nCC, _NCC);
     nCCOBindingSource.DataSource      = new D_NHACUNGCAP().DuLieu(true);
     daiLyOBindingSource.DataSource    = new D_DAILY().All();
     GVDSC.BestFitColumns();
 }