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

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

            vm.UpdateCollectionsAsync();
        }
 protected override void OnClick()
 {
     CreateReportViewModel.Show();
 }