private void ExecuteEditSubsidiary() { _oldValues.Id = Id; _oldValues.Subsidiary = Subsidiary; _oldValues.Quality = Quality; _oldValues.DevelopmentLevel = DevelopmentLevel; _oldValues.Silver = Silver; _oldValues.Base = Base; _oldValues.Luxury = Luxury; _oldValues.DaysWorkUpkeep = DaysWorkLeft; _oldValues.DaysWorkThisYear = DaysWorkThisYear; _oldValues.Steward = Steward; _oldValues.StewardId = StewardId; _oldValues.Skill = Skill; SubsidiaryUIEventArgs newEventArgs = new SubsidiaryUIEventArgs( SubsidiaryUIRoutedEvent, "Edit", -1, "", Id ); RaiseEvent(newEventArgs); }
private void ExecuteDeleteSubsidiary() { SubsidiaryUIEventArgs newEventArgs = new SubsidiaryUIEventArgs( SubsidiaryUIRoutedEvent, "Delete", -1, "", Id ); RaiseEvent(newEventArgs); }