Exemplo n.º 1
0
        public ShipmentPage(TabbedShipmentPage tabParent)
        {
            Initialize(tabParent);

            MessagingCenter.Subscribe <EOImgData>(this, "PictureTaken", (arg) =>
            {
                PictureTaken(arg);
            });
        }
Exemplo n.º 2
0
        private void Initialize(TabbedShipmentPage tabParent)
        {
            InitializeComponent();

            TabParent = tabParent;

            ((App)App.Current).GetUsers().ContinueWith(a => LoadUsers(a.Result));

            ((App)(App.Current)).GetVendors(new GetPersonRequest()).ContinueWith(a => LoadVendors(a.Result));
        }
Exemplo n.º 3
0
 public ShipmentPage(TabbedShipmentPage tabParent, long shipmentId) : this(tabParent)
 {
     ((App)(App.Current)).GetShipment(shipmentId).ContinueWith(a => LoadShipment(a.Result));
 }