Esempio n. 1
0
        public ChangePaidPriceView()
        {
            InitializeComponent();



            lbMemberName.GestureRecognizers.Add(new TapGestureRecognizer
            {
                Command = new Command(() =>
                {
                    ChangePaidPriceViewModel viewModel = this.BindingContext as ChangePaidPriceViewModel;
                    viewModel.AddMemberPaidPrice();
                }

                                      )
            });
        }
Esempio n. 2
0
        private void Label_MouseDown(object sender, MouseButtonEventArgs e)
        {
            ChangePaidPriceViewModel model = this.DataContext as ChangePaidPriceViewModel;

            model.AddMemberPaidPrice();
        }