Esempio n. 1
0
 public override string[] CloseDialog()
 {
     this.SyncRates();
     this._piechart       = (BudgetPiechart)null;
     this._behindPiechart = (BudgetPiechart)null;
     return((string[])null);
 }
Esempio n. 2
0
 public override void Initialize()
 {
     this._app.UI.UnlockUI();
     this._piechart       = new BudgetPiechart(this._app.UI, this._app.UI.Path(this.ID, "pnlScreenLeft", "piechartD"), this._app.AssetDatabase);
     this._behindPiechart = new BudgetPiechart(this._app.UI, "piechart", this._app.AssetDatabase);
     this._app.UI.SetPropertyString(this._app.UI.Path(this.ID, "specialProjectsHeader"), "text", "Salvage Projects");
     this.RefreshProjects();
     EmpireBarUI.SyncResearchSlider(this._app, SalvageProjectDialog.UIGovernmentResearchSlider, this._piechart);
 }