Beispiel #1
0
        private void OnDrawComplete(MapViewEventArgs obj)
        {
            if (obj.MapView == null)
            {
                return;
            }
            CreateReportViewModel vm = FrameworkApplication.DockPaneManager.Find("CreateReport_CreateReport") as CreateReportViewModel;

            vm.UpdateCollectionsAsync();
        }
Beispiel #2
0
        private void OnActiveMapViewChanged(ActiveMapViewChangedEventArgs obj)
        {
            if (obj.IncomingView == null)
            {
                return;
            }
            CreateReportViewModel vm = FrameworkApplication.DockPaneManager.Find("CreateReport_CreateReport") as CreateReportViewModel;

            vm.UpdateCollectionsAsync();
        }