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; }
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; }
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; }