| 1234567891011121314151617181920212223242526272829303132333435 | 
							- using System;
 
- using System.Windows.Controls;
 
- using Comal.Classes;
 
- using InABox.Clients;
 
- using InABox.Core;
 
- namespace PRSDesktop
 
- {
 
-     /// <summary>
 
-     ///     Interaction logic for ConsignmentDock.xaml
 
-     /// </summary>
 
-     public partial class ConsignmentDock : UserControl, IDockPanel
 
-     {
 
-         public ConsignmentDock()
 
-         {
 
-             InitializeComponent();
 
-         }
 
-         public void Setup()
 
-         {
 
-             
 
-         }
 
-         
 
-         public void Refresh()
 
-         {
 
-             Consignments.ItemsSource = null;
 
-             new Client<Consignment>().Load(
 
-                 new Filter<Consignment>(x => x.Closed).IsEqualTo(DateTime.MinValue),
 
-                 new SortOrder<Consignment>(x => x.EstimatedWarehouseArrival),
 
-                 (c, e) => { Dispatcher.Invoke(() => { Consignments.ItemsSource = c; }); }
 
-             );
 
-         }
 
-     }
 
- }
 
 
  |