private void ViewModelChanged(object sender, DependencyPropertyChangedEventArgs e)
        {
            this.viewModel_ = this.DataContext as Excel_fixedBond_constantRateViewModel;

            this.viewModel_.PropertyChanged += new System.ComponentModel.PropertyChangedEventHandler(viewModel_PropertyChanged);

            this.subScheduleDataGrid_.ItemsSource = this.viewModel_.Excel_fixedBond_subScheduleViewModel_;

            this.scheduleGenGrid_.Children.Clear();
            this.scheduleGenGrid_.Children.Add(this.viewModel_.ScheduleGeneratorVM_.view());

            //this.ScheduleDataGrid_.ItemsSource = viewModel_.SubScheduleDataList_;

            //GenInformationPanel_.DataContext = this.viewModel_;

            //EffectiveDatePicker_.DataContext = this.viewModel_;
        }
        private void ViewModelChanged(object sender, DependencyPropertyChangedEventArgs e)
        {
            this.viewModel_ = this.DataContext as Excel_fixedBond_constantRateViewModel;

            this.viewModel_.PropertyChanged += new System.ComponentModel.PropertyChangedEventHandler(viewModel_PropertyChanged);
            
            this.subScheduleDataGrid_.ItemsSource = this.viewModel_.Excel_fixedBond_subScheduleViewModel_;
            
            this.scheduleGenGrid_.Children.Clear();
            this.scheduleGenGrid_.Children.Add(this.viewModel_.ScheduleGeneratorVM_.view());

            //this.ScheduleDataGrid_.ItemsSource = viewModel_.SubScheduleDataList_;

            //GenInformationPanel_.DataContext = this.viewModel_;

            //EffectiveDatePicker_.DataContext = this.viewModel_;

        }