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; }
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; }