private void ViewModelChanged(object sender, DependencyPropertyChangedEventArgs e)
        {
            this.viewModel_ = this.DataContext as Excel_generalViewModel;

            this.IssueInfoGrid_.Children.Clear();
            this.IssueInfoGrid_.Children.Add(this.viewModel_.Excel_issueInfoViewModel_.view());

            this.UnderlyingInfoGrid_.Children.Clear();
            this.UnderlyingInfoGrid_.Children.Add(this.viewModel_.Excel_underlyingCalcInfoViewModel_.view());

            this.generalScheduleGrid_.Children.Clear();
            this.generalScheduleGrid_.Children.Add(this.viewModel_.GeneralScheduleInfoViewModel_.view());

            this.generalTerminationEventGrid_.Children.Clear();
            this.generalTerminationEventGrid_.Children.Add(this.viewModel_.GeneralTerminationEventInfoViewModel_.view());
        }
        private void ViewModelChanged(object sender, DependencyPropertyChangedEventArgs e)
        {
            this.viewModel_ = this.DataContext as Excel_generalViewModel;

            this.IssueInfoGrid_.Children.Clear();
            this.IssueInfoGrid_.Children.Add(this.viewModel_.Excel_issueInfoViewModel_.view());

            this.UnderlyingInfoGrid_.Children.Clear();
            this.UnderlyingInfoGrid_.Children.Add(this.viewModel_.Excel_underlyingCalcInfoViewModel_.view());

            this.generalScheduleGrid_.Children.Clear();
            this.generalScheduleGrid_.Children.Add(this.viewModel_.GeneralScheduleInfoViewModel_.view());

            this.generalTerminationEventGrid_.Children.Clear();
            this.generalTerminationEventGrid_.Children.Add(this.viewModel_.GeneralTerminationEventInfoViewModel_.view());

        }
        public static Excel_interfaceViewModel Load(string type, string tradeID)
        {
            Excel_interfaceViewModel e_ifvm = new Excel_generalViewModel();

            return e_ifvm;
        }
        public static Excel_interfaceViewModel Load(string type, string tradeID)
        {
            Excel_interfaceViewModel e_ifvm = new Excel_generalViewModel();

            return(e_ifvm);
        }