public void ShowLogReportForFeature(params object[] args)
        {
            try
            {
                var selectResult = Document.Map.SelectFeature(Resources.MSG_SELECT_FEATURE);
                if (selectResult.Feature == null || selectResult.Status != MapPromptStatus.OK)
                {
                    return;
                }

                var filter = new FilterViewModel {
                    FilterByFid = true
                };

                var vm = _container.Resolve <FeatureLogViewModel>();
                vm.FeatureFid = selectResult.Feature.FID;
                vm.Filter     = filter;
                vm.ApplyFilter();

                var view = new FeatureLogView {
                    ViewModel = vm
                };
                view.ShowDialog();
            }
            catch (Exception ex)
            {
                Application.ShowErrorMessage(ex, ex.Source, ex.Message);
            }
        }
        public void ShowLogReport(params object[] args)
        {
            try
            {
                var filter = new FilterViewModel {
                    FilterByPeriod = true
                };

                var vm = _container.Resolve <FeatureLogViewModel>();
                vm.Filter = filter;
                vm.ApplyFilter();

                var view = new FeatureLogView {
                    ViewModel = vm
                };
                view.ShowDialog();
            }
            catch (Exception ex)
            {
                Application.ShowErrorMessage(ex, ex.Source, ex.Message);
            }
        }