Ejemplo n.º 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);
            }
        }
Ejemplo n.º 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;
        }
Ejemplo n.º 3
0
 private void navigationHelper_LoadState(object sender, LoadStateEventArgs e)
 {
 }
Ejemplo n.º 4
0
 private void navigationHelper_LoadState(object sender, LoadStateEventArgs e)
 {
     SettingsPane.GetForCurrentView().CommandsRequested += Orders_CommandsRequested;
 }