public Excel_underlyingLoaderViewModel()
 {
     this.excel_equityLoaderViewModel_      = new Excel_equityLoaderViewModel();
     this.excel_indexLoaderViewModel_       = new Excel_indexLoaderViewModel();
     this.excel_irLoaderViewModel_          = new Excel_irLoaderViewModel();
     this.excel_irCurveLoaderViewModel_     = new Excel_irCurveLoaderViewModel();
     this.excel_fxLoaderViewModel_          = new Excel_fxLoaderViewModel();
     this.excel_commLoaderViewModel_        = new Excel_commLoaderViewModel();
     this.excel_creditCurveLoaderViewModel_ = new Excel_creditCurveLoaderViewModel();
 }
示例#2
0
        private void ViewModelChanged(object sender, DependencyPropertyChangedEventArgs e)
        {
            this.viewModel_ = this.DataContext as Excel_irLoaderViewModel;

            this.viewModel_.loadDefinedSymbolFromDB();

            //MarketDataManagerViewModel mvm = new MarketDataManagerViewModel();
            //mvm.loadDefinedIndexSymbolFromDB();

            this.symbolDataGrid_.ItemsSource = this.viewModel_.DefinedIRSymbolList_;


            //this.ScheduleDataGrid_.ItemsSource = this.viewModel_.Excel_scheduleViewModel_;
        }