示例#1
0
 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;
 }
示例#2
0
 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;
 }
示例#3
0
        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;
        }