protected override void InitButtons() { base.InitButtons(); this.buttonLoad = base.GetElement <UXButton>("BtnLoad"); this.buttonOk = base.GetElement <UXButton>("BtnOk"); this.buttonCancel = base.GetElement <UXButton>("BtnCancel"); this.buttonConnectNew = base.GetElement <UXButton>("BtnConnectNew"); this.buttonConnectNewConfirm = base.GetElement <UXButton>("BtnConnectNewConfirm"); UserInputInhibitor userInputInhibitor = Service.Get <UserInputInhibitor>(); if (userInputInhibitor != null) { userInputInhibitor.AlwaysAllowElement(this.CloseButton); userInputInhibitor.AlwaysAllowElement(this.buttonLoad); userInputInhibitor.AlwaysAllowElement(this.buttonOk); userInputInhibitor.AlwaysAllowElement(this.buttonCancel); userInputInhibitor.AlwaysAllowElement(this.buttonConnectNew); userInputInhibitor.AlwaysAllowElement(this.buttonConnectNewConfirm); } base.GetElement <UXLabel>("LabelBtnOk").Text = this.lang.Get("s_Ok", new object[0]); base.GetElement <UXLabel>("LabelBtnLoad").Text = this.lang.Get("ACCOUNT_SYNC_LOAD", new object[0]); base.GetElement <UXLabel>("LabelBtnCancel").Text = this.lang.Get("s_Cancel", new object[0]); base.GetElement <UXLabel>("LabelConnectNew").Text = this.lang.Get("ACCOUNT_SYNC_CONNECT_NEW_GAME", new object[0]); base.GetElement <UXLabel>("LabelConnectNewConfirm").Text = this.lang.Get("ACCOUNT_SYNC_CONNECT_NEW_GAME", new object[0]); this.ShowSyncConflict(); }