Пример #1
0
 ///<summary>Used to initialize UI from a parent controller that's set necessary properties.</summary>
 public virtual void Initialize(IParentUIController parentUIController)
 {
     this.parentUIController = parentUIController;
 }
Пример #2
0
 public override void Initialize(IParentUIController parentUIController)
 {
     base.Initialize(parentUIController);
     initializeEventCallbacks();
     initializeLocalization(parentUIController);
 }
Пример #3
0
 private void initializeLocalization(IParentUIController parentUIController)
 {
     localizer = parentUIController.GetLocalizer();
     emailInput.PlaceHolder    = localizer.GetLocalized("enter_email_address");
     passwordInput.PlaceHolder = localizer.GetLocalized("enter_password");
 }
Пример #4
0
 public override void Initialize(IParentUIController parentUIController)
 {
     base.Initialize(parentUIController);
     dismissButton.LabelText = parentUIController.GetLocalizer().GetLocalized("ok");
 }