예제 #1
0
        public void InitializeBuildUpModeEngine()
        {
            VmBuildUpModeEngine e = new VmBuildUpModeEngine();
            e.InitializeFromParentEngine(this);
            e.DoExitDelegate =
                delegate(VmPickerEngine pe)
                {
                    VmBuildUpModeEngine engine = (VmBuildUpModeEngine)pe;
                    ScanItemEngine.ConsolidateDestinationFlag = engine.AllowSort();
                    ScanItemEngine.AllowManyDestinationsFlag = engine.AllowManyDestinations();

                    if( ScanItemEngine.AllowManyDestinationsFlag && VmProperties.Default.ShouldAllowNestDestinationSetUp() )
                        NestSetUpEngine.ShowFirstPanel();
                    else
                        ScanItemEngine.ShowFirstPanel();
                };
            _buildUpModeEngine = e;
        }
예제 #2
0
 public void InitializeBuildUpModeEngine()
 {
     VmBuildUpModeEngine e = new VmBuildUpModeEngine();
     e.InitializeFromParentEngine(this);
     e.DoExitDelegate =
         delegate(VmPickerEngine pe)
         {
             VmBuildUpModeEngine engine = (VmBuildUpModeEngine)pe;
             ScanItemEngine.ConsolidateDestinationFlag = engine.AllowSort();
             ScanItemEngine.AllowManyDestinationsFlag = engine.AllowManyDestinations();
             ScanItemEngine.ShowFirstPanel();
         };
     _buildUpModeEngine = e;
 }