void doiBan_Load(string maban) { cbDoiBan.DataSource = BanBUS.Ban_LoadBanTheoTrangThai("Trống"); cbDoiBan.DisplayMember = "ban_ten"; cbDoiBan.ValueMember = "ban_id"; cbDoiBan.SelectedIndex = -1; }
void cbchonBan_Load() { cbChonBan.DataSource = BanBUS.Ban_LoadBanTheoTrangThai("Có khách"); cbChonBan.DisplayMember = "ban_ten"; cbChonBan.ValueMember = "ban_id"; }
void Load_cbchonban1() { cbchonban1.DataSource = BanBUS.Ban_LoadBanTheoTrangThai("Có khách"); cbchonban1.DisplayMember = "ban_ten"; cbchonban1.ValueMember = "ban_id"; }