void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.InstInfoCtrlView_ = ((RiskMonitor.InstrumentInformationView)(target));
                return;

            case 2:
                this.UnderlyingInfoView_ = ((RiskMonitor.UnderlyingView)(target));
                return;

            case 3:
                this.PayoffCtrlView_ = ((RiskMonitor.StepDownKIPayoffView)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.InstInfoCtrlView_ = ((RiskMonitor.InstrumentInformationView)(target));
                return;

            case 2:
                this.PayoffCtrlView_ = ((RiskMonitor.StepDownKIPayoffView)(target));
                return;

            case 3:
                this.SaveBtn_ = ((System.Windows.Controls.Button)(target));

            #line 24 "..\..\..\..\..\..\..\View\InstrumentView\InstrumentComposite\Equity\StepDownInstView.xaml"
                this.SaveBtn_.Click += new System.Windows.RoutedEventHandler(this.SaveBtn__Click);

            #line default
            #line hidden
                return;

            case 4:
                this.CalculateBtn_ = ((System.Windows.Controls.Button)(target));

            #line 25 "..\..\..\..\..\..\..\View\InstrumentView\InstrumentComposite\Equity\StepDownInstView.xaml"
                this.CalculateBtn_.Click += new System.Windows.RoutedEventHandler(this.CalculateBtn__Click);

            #line default
            #line hidden
                return;

            case 5:
                this.ResultView_ = ((RiskMonitor.ResultView)(target));
                return;

            case 6:
                this.ParameterView_ = ((RiskMonitor.StepDownKIParameterView)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.InstInfoCtrlView_ = ((RiskMonitor.InstrumentInformationView)(target));
     return;
     case 2:
     this.PayoffCtrlView_ = ((RiskMonitor.StepDownKIPayoffView)(target));
     return;
     case 3:
     this.SaveBtn_ = ((System.Windows.Controls.Button)(target));
     
     #line 24 "..\..\..\..\..\..\..\View\InstrumentView\InstrumentComposite\Equity\StepDownInstView.xaml"
     this.SaveBtn_.Click += new System.Windows.RoutedEventHandler(this.SaveBtn__Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.CalculateBtn_ = ((System.Windows.Controls.Button)(target));
     
     #line 25 "..\..\..\..\..\..\..\View\InstrumentView\InstrumentComposite\Equity\StepDownInstView.xaml"
     this.CalculateBtn_.Click += new System.Windows.RoutedEventHandler(this.CalculateBtn__Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.ResultView_ = ((RiskMonitor.ResultView)(target));
     return;
     case 6:
     this.ParameterView_ = ((RiskMonitor.StepDownKIParameterView)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.InstInfoCtrlView_ = ((RiskMonitor.InstrumentInformationView)(target));
     return;
     case 2:
     this.UnderlyingInfoView_ = ((RiskMonitor.UnderlyingView)(target));
     return;
     case 3:
     this.PayoffCtrlView_ = ((RiskMonitor.StepDownKIPayoffView)(target));
     return;
     }
     this._contentLoaded = true;
 }