public static void UpdateCollections() { ClientModelView.Update(); AgentModelView.Update(); EstateModelView.Update(); DemandModelView.Update(); OfferModelView.Update(); DealModelView.Update(); }
private void DealDemandsCB_SelectionChanged(object sender, SelectionChangedEventArgs e) { Demand demand = (Demand)((ComboBox)sender).SelectedItem; if (demand != null) { if (DealModelView.SelectionChanged) { DealModelView.SelectionChanged = false; } else { DealModelView.GetFilteredOffers(demand); } } }