コード例 #1
0
        private void StatesAcv_OnSuggestionItemSelected(object sender, SuggestionItemSelectedEventArgs e)
        {
            var selectedState = e.DataItem as string;

            CityAcv.IsEnabled   = true;
            CityAcv.ItemsSource = Lookups.CitiesLookup(selectedState);
            CityAcv.Focus();
        }
コード例 #2
0
        private void CountriesAcv_OnSuggestionItemSelected(object sender, SuggestionItemSelectedEventArgs e)
        {
            var selectedCountry = e.DataItem as string;

            StatesAcv.IsEnabled   = true;
            StatesAcv.ItemsSource = Lookups.StatesLookup(selectedCountry);
            StatesAcv.Focus();
        }
コード例 #3
0
        async private void srchClients_SuggestionItemSelected(object sender, SuggestionItemSelectedEventArgs e)
        {
            order = new Order();
            var client = (Client)e.DataItem;

            clientId = client.ClientId;
            lstProducts.ItemsSource = null;
            pkrCategory.ItemsSource = null;
            await getCategories();

            ProductsDataGrid.ItemsSource = null;
            lblTax.Text          = "0";
            lblDiscount.Text     = "0";
            lblService.Text      = "0";
            lblTax.Text          = "0";
            lblFinalPayment.Text = "0";
            lblTotalPrice.Text   = "0";
            lblDelivery.Text     = "0";
            //lblTotalNumberOfItem.Text = "سبد" + "( " + "0" + " )";
            //TotalNumberOfItem = 0;


            await ClientCreditStatus(clientId);
        }
コード例 #4
0
        private void srchProdcuts_SuggestionItemSelected(object sender, SuggestionItemSelectedEventArgs e)
        {
            var product = (Product)e.DataItem;

            productId = product.ProductId;
        }
コード例 #5
0
        private void srchClients_SuggestionItemSelected(object sender, SuggestionItemSelectedEventArgs e)
        {
            var client = (Client)e.DataItem;

            clientId = client.ClientId;
        }
コード例 #6
0
 private void SfChat_SuggestionItemSelected(object sender, SuggestionItemSelectedEventArgs e)
 {
     // Suggestion list not closed after selection.
     e.HideAfterSelection = false;
 }