private void DepartmentOfTheTreasury_ResourcePropertyChange(object sender, ResourcePropertyChangeEventArgs e) { if (base.IsVisible) { base.NeedRefresh = true; } }
private void DepartmentOfTheTreasury_ResourcePropertyChange(object sender, ResourcePropertyChangeEventArgs e) { if (base.IsVisible && e.ResourcePropertyName == SimulationProperties.BankAccount) { this.RefreshButtons(); } }
private void DepartmentOfTheTreasury_ResourcePropertyChange(object sender, ResourcePropertyChangeEventArgs e) { if (base.IsVisible && this.City != null && e.ResourcePropertyName == SimulationProperties.BankAccount && this.PopulationBuyoutButton.AgeTransform.Visible) { CityInfoPanel.RefreshPopulationBuyoutButton(this.playerControllerRepository.ActivePlayerController.Empire, this.City, this.PopulationBuyoutButton); } }
private void DepartmentOfTheTreasury_ResourcePropertyChange(object sender, ResourcePropertyChangeEventArgs e) { if (e.Location != base.Empire.SimulationObject) { return; } base.NeedRefresh = true; }
private void DepartmentOfTheTreasury_ResourcePropertyChange(object sender, ResourcePropertyChangeEventArgs e) { if (e.Location != base.Empire.SimulationObject) { return; } if (base.IsVisible) { this.RefreshContent(); } }