예제 #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 11 "..\..\..\..\Pages\Degradation\DegradationView.xaml"
     ((tscui.Pages.Degradation.DegradationView)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.viewModel = ((tscui.Pages.Degradation.DegradationViewModel)(target));
     return;
     case 3:
     this.groupBox1 = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 4:
     this.cbxDegradationModel = ((System.Windows.Controls.ComboBox)(target));
     
     #line 25 "..\..\..\..\Pages\Degradation\DegradationView.xaml"
     this.cbxDegradationModel.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Degradation_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 5:
     this.label18 = ((System.Windows.Controls.Label)(target));
     return;
     case 6:
     this.button1 = ((System.Windows.Controls.Button)(target));
     return;
     case 7:
     this.grdDegradation = ((System.Windows.Controls.Grid)(target));
     return;
     case 8:
     this.stackPanel3 = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 9:
     this.label19 = ((System.Windows.Controls.Label)(target));
     return;
     case 10:
     this.cbxDegradationBaseSchedule = ((System.Windows.Controls.ComboBox)(target));
     
     #line 34 "..\..\..\..\Pages\Degradation\DegradationView.xaml"
     this.cbxDegradationBaseSchedule.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbxDegradationBaseSchedule_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 11:
     this.stackPanel1 = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 12:
     this.label21 = ((System.Windows.Controls.Label)(target));
     return;
     case 13:
     this.cbxDegradationKeyPhase = ((System.Windows.Controls.TextBox)(target));
     return;
     case 14:
     this.stackPanel2 = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 15:
     this.label20 = ((System.Windows.Controls.Label)(target));
     return;
     case 16:
     this.cbxDegradationStagePhaseTime = ((System.Windows.Controls.TextBox)(target));
     return;
     case 17:
     this.label1 = ((System.Windows.Controls.Label)(target));
     return;
     case 18:
     this.lblCycle = ((System.Windows.Controls.Label)(target));
     return;
     case 19:
     this.label2 = ((System.Windows.Controls.Label)(target));
     return;
     case 20:
     this.lblStage = ((System.Windows.Controls.Label)(target));
     return;
     }
     this._contentLoaded = true;
 }
예제 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 11 "..\..\..\..\Pages\Degradation\DegradationView.xaml"
                ((tscui.Pages.Degradation.DegradationView)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.viewModel = ((tscui.Pages.Degradation.DegradationViewModel)(target));
                return;

            case 3:
                this.groupBox1 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 4:
                this.cbxDegradationModel = ((System.Windows.Controls.ComboBox)(target));

            #line 25 "..\..\..\..\Pages\Degradation\DegradationView.xaml"
                this.cbxDegradationModel.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Degradation_SelectionChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.label18 = ((System.Windows.Controls.Label)(target));
                return;

            case 6:
                this.button1 = ((System.Windows.Controls.Button)(target));
                return;

            case 7:
                this.grdDegradation = ((System.Windows.Controls.Grid)(target));
                return;

            case 8:
                this.stackPanel3 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 9:
                this.label19 = ((System.Windows.Controls.Label)(target));
                return;

            case 10:
                this.cbxDegradationBaseSchedule = ((System.Windows.Controls.ComboBox)(target));

            #line 34 "..\..\..\..\Pages\Degradation\DegradationView.xaml"
                this.cbxDegradationBaseSchedule.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbxDegradationBaseSchedule_SelectionChanged);

            #line default
            #line hidden
                return;

            case 11:
                this.stackPanel1 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 12:
                this.label21 = ((System.Windows.Controls.Label)(target));
                return;

            case 13:
                this.cbxDegradationKeyPhase = ((System.Windows.Controls.TextBox)(target));
                return;

            case 14:
                this.stackPanel2 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 15:
                this.label20 = ((System.Windows.Controls.Label)(target));
                return;

            case 16:
                this.cbxDegradationStagePhaseTime = ((System.Windows.Controls.TextBox)(target));
                return;

            case 17:
                this.label1 = ((System.Windows.Controls.Label)(target));
                return;

            case 18:
                this.lblCycle = ((System.Windows.Controls.Label)(target));
                return;

            case 19:
                this.label2 = ((System.Windows.Controls.Label)(target));
                return;

            case 20:
                this.lblStage = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }