public void Initialize()
        {
            //_regionManager.RegisterViewWithRegion(RegionNames.MainRegion, typeof(Views.PositionView));
            Views.MyDataGridView myView = new Views.MyDataGridView();
            myView.ViewModel = ServiceLocator.Current.GetInstance<MyDataGridViewModel>();
            _regionManager.Regions[RegionNames.MainRegion].Add(myView, "MyView");

            Views.AnotherView other = new Views.AnotherView();
            other.ViewModel = ServiceLocator.Current.GetInstance<AnotherViewModel>();
            _regionManager.Regions[RegionNames.MainRegion].Add(other, "OtherView");
        }
        public void Initialize()
        {
            //_regionManager.RegisterViewWithRegion(RegionNames.MainRegion, typeof(Views.PositionView));
            Views.MyDataGridView myView = new Views.MyDataGridView();
            myView.ViewModel = ServiceLocator.Current.GetInstance <MyDataGridViewModel>();
            _regionManager.Regions[RegionNames.MainRegion].Add(myView, "MyView");

            Views.AnotherView other = new Views.AnotherView();
            other.ViewModel = ServiceLocator.Current.GetInstance <AnotherViewModel>();
            _regionManager.Regions[RegionNames.MainRegion].Add(other, "OtherView");
        }