Interaction logic for EllipseView.xaml
Inheritance: System.Windows.Controls.UserControl
        protected DistanceAndDirectionDockpaneViewModel() 
        {
            // set some views and datacontext
            LinesView = new GRLinesView();
            LinesView.DataContext = new ProLinesViewModel();

            CircleView = new GRCircleView();
            CircleView.DataContext = new ProCircleViewModel();

            EllipseView = new GREllipseView();
            EllipseView.DataContext = new ProEllipseViewModel();

            RangeView = new GRRangeView();
            RangeView.DataContext = new ProRangeViewModel();

            // load the configuration file
            DistanceAndDirectionConfig.AddInConfig.LoadConfiguration();  
        }
        public MainViewModel()
        {
            // set some views and datacontext
            LinesView = new GRLinesView();
            LinesView.DataContext = new LinesViewModel();

            CircleView = new GRCircleView();
            CircleView.DataContext = new CircleViewModel();
            
            EllipseView = new GREllipseView();
            EllipseView.DataContext = new EllipseViewModel();
            
            RangeView = new GRRangeView();
            RangeView.DataContext = new RangeViewModel();

            // load the configuration file
            DistanceAndDirectionConfig.AddInConfig.LoadConfiguration();  
        }