public Excel_generalViewModel()
        {
            this.excel_issueInfoViewModel_ = new Excel_noteInfoViewModel();
            this.excel_underlyingCalcInfoViewModel_ = new Excel_underlyingCalcInfoViewModel();

            this.generalScheduleInfoViewModel_ = new GeneralScheduleInfoViewModel();
            this.generalTerminationEventInfoViewModel_ = new GeneralTerminationEventInfoViewModel();

            //this.view_ = new Excel_generalView();
            //this.view_.DataContext = this;
        }
        public Excel_generalViewModel()
        {
            this.excel_issueInfoViewModel_          = new Excel_noteInfoViewModel();
            this.excel_underlyingCalcInfoViewModel_ = new Excel_underlyingCalcInfoViewModel();

            this.generalScheduleInfoViewModel_         = new GeneralScheduleInfoViewModel();
            this.generalTerminationEventInfoViewModel_ = new GeneralTerminationEventInfoViewModel();

            //this.view_ = new Excel_generalView();
            //this.view_.DataContext = this;
        }
 private void ViewModelChanged(object sender, DependencyPropertyChangedEventArgs e)
 {
     this.viewModel_ = this.DataContext as GeneralTerminationEventInfoViewModel;
     this.terminationDataGrid_.ItemsSource = this.viewModel_.GeneralTerminationEventVMList_;
 }
 private void ViewModelChanged(object sender, DependencyPropertyChangedEventArgs e)
 {
     this.viewModel_ = this.DataContext as GeneralTerminationEventInfoViewModel;
     this.terminationDataGrid_.ItemsSource = this.viewModel_.GeneralTerminationEventVMList_;
 }