private void cboKhu1_SelectionChanged(object sender, SelectionChangedEventArgs e) { if (cboKhu1.SelectedItem != null) { cboBan1.ItemsSource = mBOGopBan.GetAllTableInOrderPerArea((Data.KHU)cboKhu1.SelectedItem, mBOGopBan.BanHang.BANHANG.BanHangID); } }
private void cboKhu1_SelectionChanged(object sender, SelectionChangedEventArgs e) { if (cboKhu1.SelectedItem != null) { if (mIsTachBan) { cboBan1.ItemsSource = mBOTachGopBan.GetAllTableInOrderPerArea((Data.KHU)cboKhu1.SelectedItem, 0); } else { cboBan1.ItemsSource = mBOTachGopBan.GetVisualTablePerArea((Data.KHU)cboKhu1.SelectedItem); } } }