public ManageRecipientLocalTransfer() { InitializeComponent(); this.BindingContext = vm = new SendMoneyViewModel(); vm.ListOfSavedBeneficiaries = GlobalStaticFields.ListOfTransferbeneficiaries; RecipientListView.ItemsSource = vm.ListOfSavedBeneficiaries; }
public SendMoney() { InitializeComponent(); svm = new SendMoneyViewModel(); var x = this.GetType().Name;//get name of this present page BusinessLogic.LogFrequentPage(x, PageAliasConstant.SendMoney, ImageConstants.SendMoneyIcon); }
public SendMoneyConclusion(SendMoneyViewModel svm) { InitializeComponent(); svmx = new SendMoneyViewModel(); if (svm == null) { return; } svmx = svm; IsSchdule.IsVisible = false; TransfertypePicker.ItemsSource = svm.TransferType; AccountListPicker.ItemsSource = svm.AccountListForPicker; AccountListPicker.RefreshContent = RefreshAccountList; RepeatSchedule.ItemsSource = svm.ListSchduleType; ScheduleDatePicker.MinimumDate = DateTime.Today; try { if (svm.IsExistingRecipient) { this.PageTitle = $"Send money to {svm.SavedBeneficiaries.BenName.Split(' ')[0]}"; } } catch (Exception ex) { string log = ex.ToString(); BusinessLogic.Log(log, "exception at get first name on send money", "", "", "", ""); } //BankNamePicker.ItemsSource = svm.ParticipatingBankNameList; this.BindingContext = svm; }