示例#1
0
 public void InitializeFlightNestInfoEngine()
 {
     VmInFlightNestInfoEngine e = new VmInFlightNestInfoEngine();
     e.InitializeFromParentEngine(this);
     e.DoExitDelegate =
         delegate(VmPickerEngine pe)
         {
             VmInFlightNestInfoEngine engine = (VmInFlightNestInfoEngine)pe;
             VmFlightNest c = engine.FlightNest;
             Nest = VmNestManager.Default.UpdateFlight(
                 c.Flight.Id,
                 c.Note,
                 LocationCode);
             DoExitEvent();
         };
     e.Flight = Flight;
     _flightNestInfoEngine = e;
 }
示例#2
0
 public void InitializeFlightNestInfoEngine()
 {
     VmInFlightNestInfoEngine e = new VmInFlightNestInfoEngine();
     e.InitializeFromParentEngine(this);
     e.DoExitDelegate =
         delegate(VmPickerEngine pe)
         {
             VmInFlightNestInfoEngine engine = (VmInFlightNestInfoEngine)pe;
             VmFlightNest c = engine.FlightNest;
             DoCommonExit(c);
         };
     _flightNestInfoEngine = e;
 }