Example #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 14 "..\..\..\..\Pages\LightCheck\LightCheckView.xaml"
     ((tscui.Pages.LightCheck.LightCheckView)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);
     
     #line default
     #line hidden
     
     #line 14 "..\..\..\..\Pages\LightCheck\LightCheckView.xaml"
     ((tscui.Pages.LightCheck.LightCheckView)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.UserControl_Unloaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.viewModel = ((tscui.Pages.LightCheck.LightCheckViewModel)(target));
     return;
     case 3:
     this.reset = ((System.Windows.Controls.Button)(target));
     
     #line 24 "..\..\..\..\Pages\LightCheck\LightCheckView.xaml"
     this.reset.Click += new System.Windows.RoutedEventHandler(this.reset_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.save = ((System.Windows.Controls.Button)(target));
     return;
     case 5:
     this.ipAddress = ((System.Windows.Controls.TextBox)(target));
     return;
     case 6:
     this.LampBroad8 = ((tscui.Pages.LightCheck.CheckItem)(target));
     return;
     case 7:
     this.LampBroad7 = ((tscui.Pages.LightCheck.CheckItem)(target));
     return;
     case 8:
     this.LampBroad6 = ((tscui.Pages.LightCheck.CheckItem)(target));
     return;
     case 9:
     this.LampBroad5 = ((tscui.Pages.LightCheck.CheckItem)(target));
     return;
     case 10:
     this.LampBroad4 = ((tscui.Pages.LightCheck.CheckItem)(target));
     return;
     case 11:
     this.LampBroad3 = ((tscui.Pages.LightCheck.CheckItem)(target));
     return;
     case 12:
     this.LampBroad2 = ((tscui.Pages.LightCheck.CheckItem)(target));
     return;
     case 13:
     this.LampBroad1 = ((tscui.Pages.LightCheck.CheckItem)(target));
     return;
     }
     this._contentLoaded = true;
 }
Example #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 14 "..\..\..\..\Pages\LightCheck\LightCheckView.xaml"
                ((tscui.Pages.LightCheck.LightCheckView)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden

            #line 14 "..\..\..\..\Pages\LightCheck\LightCheckView.xaml"
                ((tscui.Pages.LightCheck.LightCheckView)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.UserControl_Unloaded);

            #line default
            #line hidden
                return;

            case 2:
                this.viewModel = ((tscui.Pages.LightCheck.LightCheckViewModel)(target));
                return;

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

            #line 24 "..\..\..\..\Pages\LightCheck\LightCheckView.xaml"
                this.reset.Click += new System.Windows.RoutedEventHandler(this.reset_Click);

            #line default
            #line hidden
                return;

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

            case 5:
                this.ipAddress = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:
                this.LampBroad8 = ((tscui.Pages.LightCheck.CheckItem)(target));
                return;

            case 7:
                this.LampBroad7 = ((tscui.Pages.LightCheck.CheckItem)(target));
                return;

            case 8:
                this.LampBroad6 = ((tscui.Pages.LightCheck.CheckItem)(target));
                return;

            case 9:
                this.LampBroad5 = ((tscui.Pages.LightCheck.CheckItem)(target));
                return;

            case 10:
                this.LampBroad4 = ((tscui.Pages.LightCheck.CheckItem)(target));
                return;

            case 11:
                this.LampBroad3 = ((tscui.Pages.LightCheck.CheckItem)(target));
                return;

            case 12:
                this.LampBroad2 = ((tscui.Pages.LightCheck.CheckItem)(target));
                return;

            case 13:
                this.LampBroad1 = ((tscui.Pages.LightCheck.CheckItem)(target));
                return;
            }
            this._contentLoaded = true;
        }