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();
 }
Example #2
0
        private void ViewModelChanged(object sender, DependencyPropertyChangedEventArgs e)
        {
            this.viewModel_ = this.DataContext as Excel_equityLoaderViewModel;

            this.viewModel_.loadDefinedSymbolFromDB();

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

            this.symbolDataGrid_.ItemsSource = this.viewModel_.DefinedEquitySymbolList_;


            //this.ScheduleDataGrid_.ItemsSource = this.viewModel_.Excel_scheduleViewModel_;
        }
        private void ViewModelChanged(object sender, DependencyPropertyChangedEventArgs e)
        {
            this.viewModel_ = this.DataContext as Excel_equityLoaderViewModel;

            this.viewModel_.loadDefinedSymbolFromDB();

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

            this.symbolDataGrid_.ItemsSource = this.viewModel_.DefinedEquitySymbolList_;


            //this.ScheduleDataGrid_.ItemsSource = this.viewModel_.Excel_scheduleViewModel_;
        }
        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();

        }