コード例 #1
0
        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;
        }
コード例 #2
0
        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 GeneralScheduleInfoViewModel;
     this.scheduleDataGrid_.ItemsSource = this.viewModel_.GeneralScheduleVMList_;
 }
 private void ViewModelChanged(object sender, DependencyPropertyChangedEventArgs e)
 {
     this.viewModel_ = this.DataContext as GeneralScheduleInfoViewModel;
     this.scheduleDataGrid_.ItemsSource = this.viewModel_.GeneralScheduleVMList_;
 }