public InstrumentExplorerViewModel(MainWindow mainWindow,BookInfoViewModel bookInfoVM)
 {
     this.bookInfoVM_ = bookInfoVM;
     this.loadBookInfo();
     this.view_ = new ExplorerBookInstView(mainWindow, bookInfoVM_);
     this.view_.DataContext = this;
 }
        public AddNewProductManagerView(MainWindow mainWindow)
        {

            InitializeComponent();
            this.mainWindow_ = mainWindow;
            initializeList();

        }
        public InstrumentExplorerViewCtrl(MainWindow mainWindow , BookInfoViewModel bookInfoVM)
        {
            InitializeComponent();
            this.mainWindow_ = mainWindow;

            InstExViewModel_ = new InstrumentExplorerViewModel(mainWindow,bookInfoVM);

            ExplorerListView_.DataContext = InstExViewModel_;
            ExplorerListView_.ItemsSource = InstExViewModel_.InstHierarchyList_;
            //ExplorerListView_.Height = mainWindow.DocumentPane_.DockHeight.Value;
            
            OutputLogViewModel.addResult(new MessageOutput("Explore Load Complete"));
        }
        public ExplorerBookInstView(MainWindow mainWindow, BookInfoViewModel bookInfoVM)
        {
            InitializeComponent();
            this.mainWindow_ = mainWindow;

            //InstExViewModel_ = new InstrumentExplorerViewModel(mainWindow,bookInfoVM);

            this.DataContextChanged += new DependencyPropertyChangedEventHandler(ViewModelChanged);

            //ExplorerListView_.Height = mainWindow.DocumentPane_.DockHeight.Value;
            
            OutputLogViewModel.addResult(new MessageOutput("Explore Load Complete"));
        }