Exemple #1
0
        private void navigationHelper_LoadState(object sender, LoadStateEventArgs e)
        {
            if (e.NavigationParameter is RSOrder)
                order = e.NavigationParameter as RSOrder;

            if (order != null)
            {
                grdOrderItems.ItemsSource = order.Items.Where(oi => oi.State < 2);
            }
        }
Exemple #2
0
        private async void navigationHelper_LoadState(object sender, LoadStateEventArgs e)
        {
            if (e.NavigationParameter is int)
                order = await Service.GetOrder((int)e.NavigationParameter);

            if (e.NavigationParameter is RSOrder)
                order = await Service.GetOrder((e.NavigationParameter as RSOrder).Id);

            lstOrderItems.ItemsSource = order.Items.Where(oi => oi.State < 2);
            this.DataContext = order;
        }
Exemple #3
0
 private void navigationHelper_LoadState(object sender, LoadStateEventArgs e)
 {
 }
Exemple #4
0
 private void navigationHelper_LoadState(object sender, LoadStateEventArgs e)
 {
     SettingsPane.GetForCurrentView().CommandsRequested += Orders_CommandsRequested;
 }