private void cboKhu1_SelectionChanged(object sender, SelectionChangedEventArgs e) { if (cboKhu1.SelectedItem != null) { cboBan1.ItemsSource = mBOGopBan.GetVisualTablePerArea((Data.KHU)cboKhu1.SelectedItem); } }
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); } } }