Example #1
0
        public WalletChartView(Wallet myWallet, int height, WalletPage parent)
        {
            this.myWallet = myWallet;
            this.parent   = parent;

            Orientation       = StackOrientation.Horizontal;
            VerticalOptions   = LayoutOptions.End;
            HorizontalOptions = LayoutOptions.Center;
            HeightRequest     = height;

            this.CreateChart();
        }
Example #2
0
        public RemoveAmountForm(Wallet myWallet, List <Currency> currencies, WalletPage walletPage)
        {
            this.myWallet   = myWallet;
            this.currencies = currencies;
            this.walletPage = walletPage;

            initCurrencyPicker();
            initAddButton();


            Orientation       = StackOrientation.Horizontal;
            VerticalOptions   = LayoutOptions.End;
            HorizontalOptions = LayoutOptions.Center;
            Padding           = new Thickness(0, Device.OnPlatform(10, 10, 10), 0, 0);

            this.Children.Add(amountEntry);
            this.Children.Add(currencyPicker);
            this.Children.Add(addButton);
        }
Example #3
0
        public App()
        {
            InitializeComponent();

            MainPage = new WalletPage();
        }