Exemplo n.º 1
0
        private void loadReference()
        {
            this.marketDataManagerViewModel_ = new MarketDataManagerViewModel();
            this.marketDataManagerViewModel_.loadDefinedIndexSymbolFromDB();

            //this.ReferenceDataGrid_.ItemsSource = this.marketDataManagerViewModel_.DefinedIndexSymbolList_;
        }
Exemplo n.º 2
0
        private void loadUnderlying()
        {
            this.marketDataManagerViewModel_ = new MarketDataManagerViewModel();
            this.marketDataManagerViewModel_.loadDefinedIndexSymbolFromDB();

            this.UnderlyingDataGrid_.ItemsSource = this.marketDataManagerViewModel_.DefinedIndexSymbolList_;
        }
        private void loadReference()
        {
            this.marketDataManagerViewModel_ = new MarketDataManagerViewModel();
            this.marketDataManagerViewModel_.loadDefinedIndexSymbolFromDB();

            //this.ReferenceDataGrid_.ItemsSource = this.marketDataManagerViewModel_.DefinedIndexSymbolList_;

        }
 private void ViewModelChanged(object sender, DependencyPropertyChangedEventArgs e)
 {
     this.viewModel_ = this.DataContext as MarketDataManagerViewModel;
     this.definedIndexList_.ItemsSource = this.viewModel_.DefinedIndexSymbolList_;
 }
        private void dataManagerBtn_Click(object sender, RoutedEventArgs e)
        {
            MarketDataManagerViewModel mdmvm = new MarketDataManagerViewModel();
            mdmvm.loadDefinedIndexSymbolFromDB();

            Window w = new Window();
            w.Width = 400;
            w.Height = 300;
            w.Content = mdmvm.view();
            w.Visibility = 0;
        }
        private void loadUnderlying()
        {
            this.marketDataManagerViewModel_ = new MarketDataManagerViewModel();
            this.marketDataManagerViewModel_.loadDefinedIndexSymbolFromDB();

            this.UnderlyingDataGrid_.ItemsSource = this.marketDataManagerViewModel_.DefinedIndexSymbolList_;

        }
Exemplo n.º 7
0
 private void ViewModelChanged(object sender, DependencyPropertyChangedEventArgs e)
 {
     this.viewModel_ = this.DataContext as MarketDataManagerViewModel;
     this.definedIndexList_.ItemsSource = this.viewModel_.DefinedIndexSymbolList_;
 }