/// <summary>
 /// Initializes this instance.
 /// </summary>
 public void Init()
 {
     this.AnalysisLogger.TrackEvent(PageInitialisedEvent.Create(this.GetType().Name));
     this.TransactionsButton.Clicked += this.TransactionsButton_Clicked;
     this.ReportsButton.Clicked      += this.ReportsButton_Clicked;
     this.ProfileButton.Clicked      += this.ProfileButton_Clicked;
     this.SupportButton.Clicked      += this.SupportButton_Clicked;
 }
Exemple #2
0
        /// <summary>
        /// Initializes the specified view model.
        /// </summary>
        public void Init()
        {
            this.AnalysisLogger.TrackEvent(PageInitialisedEvent.Create(this.GetType().Name));

            this.MobileTopupButton.Clicked  += this.MobileTopupButton_Clicked;
            this.MobileWalletButton.Clicked += this.MobileWalletButton_Clicked;
            this.BillPaymentButton.Clicked  += this.BillPaymentButton_Clicked;
            this.AdminButton.Clicked        += this.AdminButton_Clicked;
        }
Exemple #3
0
        /// <summary>
        /// Initializes the specified view model.
        /// </summary>
        /// <param name="viewModel">The view model.</param>
        public void Init(MobileTopupPerformTopupViewModel viewModel)
        {
            this.AnalysisLogger.TrackEvent(PageInitialisedEvent.Create(this.GetType().Name));

            this.ViewModel = viewModel;
            this.PerformTopupButton.Clicked += this.PerformTopupButton_Clicked;

            this.CustomerMobileNumberEntry.TextChanged += this.CustomerMobileNumberEntry_TextChanged;
            this.CustomerMobileNumberEntry.Completed   += this.CustomerMobileNumberEntry_Completed;
            this.TopupAmountEntry.TextChanged          += this.TopupAmountEntry_TextChanged;
            this.TopupAmountEntry.Completed            += this.TopupAmountEntry_Completed;
        }
Exemple #4
0
        /// <summary>
        /// Initializes the specified view model.
        /// </summary>
        /// <param name="viewModel">The view model.</param>
        public void Init(LoginViewModel viewModel)
        {
            this.AnalysisLogger.TrackEvent(PageInitialisedEvent.Create(this.GetType().Name));

            this.ViewModel = viewModel;

            this.EmailEntry.TextChanged += this.Email_TextChanged;
            this.EmailEntry.Completed   += this.Email_Completed;

            this.PasswordEntry.TextChanged += this.Password_TextChanged;
            this.PasswordEntry.Completed   += this.Password_Completed;

            this.LoginButton.Clicked += this.Login_Clicked;
        }
Exemple #5
0
 /// <summary>
 /// Initializes this instance.
 /// </summary>
 public void Init()
 {
     this.AnalysisLogger.TrackEvent(PageInitialisedEvent.Create(this.GetType().Name));
     this.CancelButton.Clicked += this.CancelButton_Clicked;
 }
Exemple #6
0
 /// <summary>
 /// Initializes the specified view model.
 /// </summary>
 /// <param name="viewModel">The view model.</param>
 public void Init(MobileTopupSelectOperatorViewModel viewModel)
 {
     this.AnalysisLogger.TrackEvent(PageInitialisedEvent.Create(this.GetType().Name));
     this.LoadOperators(viewModel);
 }