Ejemplo n.º 1
0
 private void ButtonUpdate()
 {
     AddCommand.RaiseCanExecuteChanged();
     ChangeCommand.RaiseCanExecuteChanged();
     OkCommand.RaiseCanExecuteChanged();
     CancelCommand.RaiseCanExecuteChanged();
     SelectAndChangeCommand.RaiseCanExecuteChanged();
 }
 protected void UpdateSelectedStreet()
 {
     if (SelectedStreet != null)
     {
         Name     = SelectedStreet.Name;
         District = SelectedStreet.District;
         ChangeCommand.RaiseCanExecuteChanged();
     }
 }
Ejemplo n.º 3
0
 protected void UpdateSelectedRealtorAgency()
 {
     if (SelectedRealtorAgency != null)
     {
         Name        = SelectedRealtorAgency.Name;
         Address     = SelectedRealtorAgency.Address;
         Contacts    = SelectedRealtorAgency.Contacts;
         Description = SelectedRealtorAgency.Description;
         Director    = SelectedRealtorAgency.Director;
         ChangeCommand.RaiseCanExecuteChanged();
     }
 }