public void InitializeScanItemEngine()
        {
            VmIeScanItemEngine e = new VmIeScanItemEngine();
            e.InitializeFromParentEngine(this);
            // kludge (err) - Language
            e.Instructions = "Receive Item:";

            e.AssignEventMangers(
                ReceiveEventManager,
                ReceiveAliasEventManager);

            e.ShowNestFlag = true;
            e.CollectUnknownWeightFlag =
                JwUtility.IsEqual(
                    VmProperties.Default.GetMobileTagUnknownWeightCollectionPolicy(),
                    "now");
            e.BuildNestFlag = true;
            e.ShouldWarnOfMissingPlannedRoutesFlag = VmProperties.Default.ShouldWarnMissingPlannedRoutesReceive();
            e.ShouldValidateCloseOutFlag = VmProperties.Default.ShouldWarnIfPastCloseOutDuringReceive();
            e.ShouldStageFlag = VmProperties.Default.ShouldStageDuringReceive();

            if( VmProperties.Default.ShouldAllowCloseNest() )
            {
                e.DoneBitmap = VmImageManager.Default.GetCloseNestImage();
                e.DoneText = VmLanguage.Default.GetCloseNest();
                e.DoExitDelegate =
                    delegate(VmPickerEngine pe)
                    {
                        VmIeScanItemEngine scanItemEngine = (VmIeScanItemEngine)pe;
                        CloseNestEngine.Nest = scanItemEngine.Nest;
                        CloseNestEngine.ShowFirstPanel();
                    };
            }
            else
            {
                e.DoneBitmap = VmImageManager.Default.GetHomeImage();
                e.DoneText = VmLanguage.Default.GetHome();
                e.DoExitDelegate =
                    delegate(VmPickerEngine pe)
                    {
                        VmIeScanItemEngine scanItemEngine = (VmIeScanItemEngine)pe;
                        VmApplication.Default.ShowMainPanel();
                    };
            }
            if( VmProperties.Default.ShouldAllowReturnMail() )
            {
                e.AlternateActionBitmap = VmImageManager.Default.GetReturnMailImage();
                e.AlternateActionText = VmLanguage.Default.GetReturn();
                e.AlternateActionDelegate =
                    delegate(VmPickerEngine pe)
                    {
                        ReturnItemEngine.ShowFirstPanel();
                    };
            }
            _scanItemEngine = e;
        }
        public void InitializeReturnItemEngine()
        {
            VmIeScanItemEngine e = new VmIeScanItemEngine();
            e.InitializeFromParentEngine(this);
            VmReturnItemEventManager im = new VmReturnItemEventManager(
                VmAirportData.Default.AirportOutputData.CreateReturnItemEventFile());
            VmReturnAliasEventManager am = new VmReturnAliasEventManager(
                VmAirportData.Default.AirportOutputData.CreateReturnAliasEventFile());
            e.AssignEventMangers(
                im,
                am);

            e.DoExitDelegate =
                delegate(VmPickerEngine pe)
                {
                    ScanItemEngine.ShowFirstPanel();
                };
            // kludge (err) - Language
            e.Instructions = "Return Item to Post:";
            e.DoneBitmap = VmImageManager.Default.GetReceiveModuleImage();
            e.DoneText = VmLanguage.Default.GetReceive();
            _returnItemEngine = e;
        }