示例#1
0
        // обработка нажатия элемента в списке
        private async void OnItemSelected(object sender, SelectedItemChangedEventArgs e)
        {
            MapsGoods        selectedGoods   = (MapsGoods)e.SelectedItem;
            MapsGoodsDetails detailGoodsPage = new MapsGoodsDetails();

            detailGoodsPage.BindingContext = selectedGoods;
            await Navigation.PushAsync(detailGoodsPage);
        }
示例#2
0
        // обработка нажатия кнопки добавления
        private async void CreateBarecode(object sender, EventArgs e)
        {
            MapsGoods        result       = new MapsGoods();
            MapsGoodsDetails barecodePage = new MapsGoodsDetails();

            //result.Status = 1;
            //result.dateTime = DateTime.Now;

            barecodePage.BindingContext = result;
            await Navigation.PushAsync(barecodePage);
        }