Exemplo n.º 1
0
 void cb_ChonBan(object sender, EventArgs e)
 {
     if (TrangThai == 0)
     {
         cBan cb = sender as cBan;
         if (fMoBan == null)
         {
             fMoBan = new fMoban();
         }
         fMoBan.Ban = cb;
         fMoBan.ShowDialog();
     }
 }
Exemplo n.º 2
0
 void cb_ChonBan(object sender, EventArgs e)
 {
     if (TrangThai == 0)
     {
         cBan cb = sender as cBan;
         if (fMoBan == null)
         {
             fMoBan              = new fMoban(cb.MaPOSArea);
             fMoBan.dmposGia     = this.dmposGia;
             fMoBan.dmposLoaiGia = this.dmposLoaiGia;
             fMoBan.dmtk         = this.dmtk;
             fMoBan.ctBieuphi    = this.ctBieuphi;
             fMoBan.dmloaithe    = this.dmloaithe;
         }
         fMoBan.Ban = cb;
         fMoBan.ShowDialog();
     }
 }