public MainWindow()
 {
     InitializeComponent();
     Open = new AdHocCommand(ExecuteOpen);
     _currentViewModel =(DashBoardViewModel) BootStrapper.Resolve<object>("DashBoard");
     _currentViewModel.CurrentViewModel = _currentViewModel;
     DataContext = _currentViewModel;
 }
 private void SetDataContext()
 {
     _currentDashBoardViewModel = (DashBoardViewModel)BootStrapper.Resolve<object>("DashBoard");
     DataContext = _currentDashBoardViewModel;
 }