Esempio n. 1
0
        private void ViewModelChanged(object sender, DependencyPropertyChangedEventArgs e)
        {
            this.viewModel_ = this.DataContext as Excel_irsViewModel;

            this.IssueInfoGrid_.Children.Add(this.viewModel_.Excel_issueInfoViewModel_.view());
            this.partyLegGrid_.Children.Add(this.viewModel_.Excel_swapLegViewModel_[0].view());
            this.counterPartyLegGrid_.Children.Add(this.viewModel_.Excel_swapLegViewModel_[1].view());
        }
        private void ViewModelChanged(object sender, DependencyPropertyChangedEventArgs e)
        {
            this.viewModel_ = this.DataContext as Excel_irsViewModel;

            this.IssueInfoGrid_.Children.Add(this.viewModel_.Excel_issueInfoViewModel_.view());
            this.partyLegGrid_.Children.Add(this.viewModel_.Excel_swapLegViewModel_[0].view());
            this.counterPartyLegGrid_.Children.Add(this.viewModel_.Excel_swapLegViewModel_[1].view());

        }