public override void Init() { base.Init(); this.lblLevel = (XUiV_Label)base.GetChildById("levelNumber").ViewComponent; this.lblName = (XUiV_Label)base.GetChildById("characterName").ViewComponent; this.isDirty = true; this.levelLabel = Localization.Get("lblLevel", string.Empty); }
public override void Init() { base.Init(); this.hireInformationPanel = (XUiV_Panel)base.GetChildById("JoinInformationPopup").ViewComponent; ((XUiC_SimpleButton)this.hireInformationPanel.Controller.GetChildById("btnCancel")).OnPressed += this.BtnCancelHireInformation_OnPressed; ((XUiC_SimpleButton)this.hireInformationPanel.Controller.GetChildById("btnConfirm")).OnPressed += this.BtnConfirmHireInformation_OnPressed; this.hireInformationLabel = (XUiV_Label)this.hireInformationPanel.Controller.GetChildById("JoinInformationLabel").ViewComponent; }