public void InitializeVirtualNestInfoEngine() { VmInVirtualInfoEngine e = new VmInVirtualInfoEngine(); e.InitializeFromParentEngine(this); e.DoExitDelegate = delegate(VmPickerEngine pe) { VmInVirtualInfoEngine engine = (VmInVirtualInfoEngine)pe; VmVirtualNest c = engine.VirtualNest; DoCommonExit(c); }; _virtualNestInfoEngine = e; }
public void InitializeVirtualNestInfoEngine() { VmInVirtualInfoEngine e = new VmInVirtualInfoEngine(); e.InitializeFromParentEngine(this); e.DoExitDelegate = delegate(VmPickerEngine pe) { VmInVirtualInfoEngine engine = (VmInVirtualInfoEngine)pe; VmVirtualNest c = engine.VirtualNest; Nest = VmNestManager.Default.UpdateVirtual( c.Name, c.Note, LocationCode); DoExitEvent(); }; _virtualNestInfoEngine = e; }
public void InitializeVirtualNestInfoEngine() { VmInVirtualInfoEngine e = new VmInVirtualInfoEngine(); e.LogoBitmap = LogoBitmap; e.SpacerBitmap = SpacerBitmap; e.ModuleBitmap = ModuleBitmap; e.DoExitDelegate = delegate(VmPickerEngine pe) { VmInVirtualInfoEngine engine = (VmInVirtualInfoEngine)pe; VmVirtualNest c = engine.VirtualNest; Nest = VmNestManager.Default.UpdateVirtual( c.Name, c.Note, AirportCode); DoExitEvent(); }; e.Instructions = Instructions; _virtualNestInfoEngine = e; }