Пример #1
0
 //# __________ PROTOCOL :: PRIVATE __________ #//
 public Vm2NestPickerEngine NewNestPickerEngine()
 {
     Vm2NestPickerEngine e = new Vm2NestPickerEngine();
     e.InitializeFromParentEngine(this);
     e.UseIdentifyExistingNestMode();
     e.Flight = null;
     return e;
 }
Пример #2
0
 public void IntializeImpromptuNestPickerEngine()
 {
     Vm2NestPickerEngine e = new Vm2NestPickerEngine();
     e.InitializeFromParentEngine(this);
     e.DoExitDelegate =
         delegate(VmPickerEngine pe)
         {
             Vm2NestPickerEngine engine = (Vm2NestPickerEngine)e;
             AssignImpromptuNest(engine.Nest);
         };
     _impromptuNestPickerEngine = e;
 }
Пример #3
0
 public void IntializeNestPickerEngine()
 {
     Vm2NestPickerEngine e = new Vm2NestPickerEngine();
     e.InitializeFromParentEngine(this);
     e.DoExitDelegate =
         delegate(VmPickerEngine pe)
         {
             Vm2NestPickerEngine engine = (Vm2NestPickerEngine)e;
             SetUpNest(engine.Nest);
         };
     _nestPickerEngine = e;
 }
Пример #4
0
 public void InitializePickNestEngine()
 {
     Vm2NestPickerEngine e  = new Vm2NestPickerEngine();
     e.InitializeFromParentEngine(this);
     e.DoExitDelegate =
         delegate(VmPickerEngine pe)
         {
             Vm2NestPickerEngine engine = (Vm2NestPickerEngine)pe;
             Nest = engine.Nest;
             if( ShouldAllowDestinationConsolidation() )
                 ConsolidateEngine.AddNest(Nest);
             if( Tag != null)
                 PersistScan(Tag);
             ShowScanItemPanel();
         };
     e.Flight = Flight;
     // kludge (err) - Language
     e.Instructions = "Choose a Nest:";
     e.AllowLooseOverrideFlag = true;
     _pickNestEngine = e;
 }