Exemple #1
0
        public CurrencySwapConclusion(CurrencySwapViewModel currencySwapViewModel)
        {
            try
            {
                InitializeComponent();
                vm             = currencySwapViewModel;
                BindingContext = vm;

                SelectedAccount.ItemsSource = vm.CustomerAccounts;
            }
            catch (Exception ex)
            {
                // throw;
            }
        }
        public CurrencySwapPage()
        {
            try
            {
                InitializeComponent();

                vm = new CurrencySwapViewModel(Navigation);

                BindingContext = vm;
                //AmtRev.Text = "eg. NGN 0.0";
                //AmountSentInForeignCurrecy.InputTransparent = true;

                //get name of the page
                var x = (this.GetType().Name);
                BusinessLogic.LogFrequentPage(x, PageAliasConstant.currencyswap, ImageConstants.AirtimeDataIcon);
            }
            catch (Exception rx)
            {
                rx.Message.ToString();
                //throw;
            }
        }