void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.UserControl = ((BMC.Presentation.CMachineMaintenanceView)(target));
     
     #line 7 "..\..\..\Views\CMachineMaintenanceView.xaml"
     this.UserControl.Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.cmbSessions = ((System.Windows.Controls.ComboBox)(target));
     
     #line 44 "..\..\..\Views\CMachineMaintenanceView.xaml"
     this.cmbSessions.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbSessions_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 4:
     this.btnRefresh = ((System.Windows.Controls.Button)(target));
     
     #line 54 "..\..\..\Views\CMachineMaintenanceView.xaml"
     this.btnRefresh.Click += new System.Windows.RoutedEventHandler(this.btnRefresh_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.btnMainain = ((System.Windows.Controls.Button)(target));
     
     #line 55 "..\..\..\Views\CMachineMaintenanceView.xaml"
     this.btnMainain.Click += new System.Windows.RoutedEventHandler(this.btnMainain_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.btnBlockPorts = ((System.Windows.Controls.Button)(target));
     
     #line 56 "..\..\..\Views\CMachineMaintenanceView.xaml"
     this.btnBlockPorts.Click += new System.Windows.RoutedEventHandler(this.btnBlockPorts_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.chkCurrent = ((System.Windows.Controls.RadioButton)(target));
     
     #line 57 "..\..\..\Views\CMachineMaintenanceView.xaml"
     this.chkCurrent.Checked += new System.Windows.RoutedEventHandler(this.chkCurrent_Checked);
     
     #line default
     #line hidden
     return;
     case 8:
     this.chkHistory = ((System.Windows.Controls.RadioButton)(target));
     
     #line 58 "..\..\..\Views\CMachineMaintenanceView.xaml"
     this.chkHistory.Checked += new System.Windows.RoutedEventHandler(this.chkHistory_Checked);
     
     #line default
     #line hidden
     return;
     case 9:
     this.txtOpenSession = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 10:
     this.PortBlocking = ((System.Windows.Controls.Grid)(target));
     return;
     case 11:
     this.gbGatSerialPort = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 12:
     this.rbGatSerialPortEnabled = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 13:
     this.rbGatSerialPortDisabled = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 14:
     this.gbAuxSerialPort = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 15:
     this.rbAuxSerialPortEnabled = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 16:
     this.rbAuxSerialPortDisabled = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 17:
     this.gbSlotLinePort = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 18:
     this.rbSlotLinePortEnabled = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 19:
     this.rbSlotLinePortDisabled = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 20:
     this.lstSessionEvents = ((System.Windows.Controls.ListView)(target));
     return;
     }
     this._contentLoaded = true;
 }
Exemple #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.UserControl = ((BMC.Presentation.CMachineMaintenanceView)(target));

            #line 7 "..\..\..\Views\CMachineMaintenanceView.xaml"
                this.UserControl.Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.cmbSessions = ((System.Windows.Controls.ComboBox)(target));

            #line 44 "..\..\..\Views\CMachineMaintenanceView.xaml"
                this.cmbSessions.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbSessions_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 54 "..\..\..\Views\CMachineMaintenanceView.xaml"
                this.btnRefresh.Click += new System.Windows.RoutedEventHandler(this.btnRefresh_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.btnMainain = ((System.Windows.Controls.Button)(target));

            #line 55 "..\..\..\Views\CMachineMaintenanceView.xaml"
                this.btnMainain.Click += new System.Windows.RoutedEventHandler(this.btnMainain_Click);

            #line default
            #line hidden
                return;

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

            #line 56 "..\..\..\Views\CMachineMaintenanceView.xaml"
                this.btnBlockPorts.Click += new System.Windows.RoutedEventHandler(this.btnBlockPorts_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.chkCurrent = ((System.Windows.Controls.RadioButton)(target));

            #line 57 "..\..\..\Views\CMachineMaintenanceView.xaml"
                this.chkCurrent.Checked += new System.Windows.RoutedEventHandler(this.chkCurrent_Checked);

            #line default
            #line hidden
                return;

            case 8:
                this.chkHistory = ((System.Windows.Controls.RadioButton)(target));

            #line 58 "..\..\..\Views\CMachineMaintenanceView.xaml"
                this.chkHistory.Checked += new System.Windows.RoutedEventHandler(this.chkHistory_Checked);

            #line default
            #line hidden
                return;

            case 9:
                this.txtOpenSession = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 10:
                this.PortBlocking = ((System.Windows.Controls.Grid)(target));
                return;

            case 11:
                this.gbGatSerialPort = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 12:
                this.rbGatSerialPortEnabled = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 13:
                this.rbGatSerialPortDisabled = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 14:
                this.gbAuxSerialPort = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 15:
                this.rbAuxSerialPortEnabled = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 16:
                this.rbAuxSerialPortDisabled = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 17:
                this.gbSlotLinePort = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 18:
                this.rbSlotLinePortEnabled = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 19:
                this.rbSlotLinePortDisabled = ((System.Windows.Controls.RadioButton)(target));
                return;

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