コード例 #1
0
        private void ModelOnBearingVerificationRequired()
        {
            var context = new WindowSelectionContext
            {
                CanSelectDirection = true,
                CanSelectRing      = true,
                InitialWindow      = _model.TargetDistance,
                Caption            = Resources.TargetingAvidViewModel_VerifyBearingCaption,
                Message            = Resources.TargetingAvidViewModel_BearingVerificationMessage
            };

            _model.SubmitBearingVerificationResult(_navigationService.SelectWindow(context));
        }
コード例 #2
0
        public AvidWindow SelectWindow(WindowSelectionContext context)
        {
            var windowSelectionRequest = new InternalInteractionRequest <WindowSelectionViewModel, AvidWindow>(_displayService, "FireControl.Windows.AvidWindowSelection");

            return(windowSelectionRequest.Invoke(context));
        }