private void BatchControlBtn_Click(object sender, RoutedEventArgs e) { LayoutDocument layoutDoc = new LayoutDocument(); BatchControlView ctrl = new BatchControlView(); BatchControlViewModel viewModel = new BatchControlViewModel(this.viewModel_.BookInfoVM_); //viewModel.InstHierarchyList_ = this.instExView_.instExViewModel_.InstHierarchyList_; ctrl.ViewModel_ = viewModel; layoutDoc.Content = ctrl; layoutDoc.Title = "BatchControl"; this.DocumentPane_.Children.Add(layoutDoc); }