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 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")); }