Example #1
0
 public void InitializeCartNestInfoEngine()
 {
     VmInCartInfoEngine e = new VmInCartInfoEngine();
     e.InitializeFromParentEngine(this);
     e.DoExitDelegate =
         delegate(VmPickerEngine pe)
         {
             VmInCartInfoEngine engine = (VmInCartInfoEngine)pe;
             VmCart c = engine.Cart;
             DoCommonExit(c);
         };
     _cartNestInfoEngine = e;
 }
Example #2
0
 public void InitializeCartInfoEngine()
 {
     VmInCartInfoEngine e = new VmInCartInfoEngine();
     e.InitializeFromParentEngine(this);
     e.DoExitDelegate =
         delegate(VmPickerEngine pe)
         {
             VmInCartInfoEngine engine = (VmInCartInfoEngine)pe;
             VmCart c = engine.Cart;
             Nest = VmNestManager.Default.UpdateCart(
                 c.OriginAirportCode,
                 c.Identifier,
                 c.DestinationAirportCode,
                 c.FlightNumber,
                 c.Note,
                 LocationCode);
             DoExitEvent();
         };
     e.DisallowDuplicateFlag = true;
     _cartInfoEngine = e;
 }
Example #3
0
 public void InitializeCartInfoEngine()
 {
     VmInCartInfoEngine e = new VmInCartInfoEngine();
     e.LogoBitmap = LogoBitmap;
     e.SpacerBitmap = SpacerBitmap;
     e.ModuleBitmap = ModuleBitmap;
     e.DoExitDelegate =
         delegate(VmPickerEngine pe)
         {
             VmInCartInfoEngine engine = (VmInCartInfoEngine)pe;
             VmCart c = engine.Cart;
             Nest = VmNestManager.Default.UpdateCart(
                 c.OriginAirportCode,
                 c.Identifier,
                 c.DestinationAirportCode,
                 c.FlightNumber,
                 c.Note,
                 AirportCode);
             DoExitEvent();
         };
     e.Instructions = Instructions;
     e.DisallowDuplicateFlag = true;
     _cartInfoEngine = e;
 }