Interaction logic for RLOSView.xaml
Inheritance: System.Windows.Controls.UserControl
        protected VisibilityDockpaneViewModel()
        {
            LLOSView = new VisibilityLLOSView();
            LLOSView.DataContext = new ProLLOSViewModel();

            RLOSView = new VisibilityRLOSView();
            RLOSView.DataContext = new ProRLOSViewModel();

            VisibilityConfig.AddInConfig.LoadConfiguration();
        }
Ejemplo n.º 2
0
        public MainViewModel()
        {
            // set some views
            _llosView = new VisibilityLLOSView();
            _llosView.DataContext = new LLOSViewModel();
            _rlosView = new VisibilityRLOSView();
            _rlosView.DataContext = new RLOSViewModel();

            Events_ActiveViewChanged();

            // listen to some map events
            ArcMap.Events.ActiveViewChanged += Events_ActiveViewChanged;

            VisibilityConfig.AddInConfig.LoadConfiguration();
        }