コード例 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.pncontrol = ((VirtualPultValves.Views.View_NeptunP1)(target));

            #line 8 "..\..\..\..\Views\View_NeptunP1.xaml"
                this.pncontrol.Unloaded += new System.Windows.RoutedEventHandler(this.UserControl_Unloaded);

            #line default
            #line hidden

            #line 9 "..\..\..\..\Views\View_NeptunP1.xaml"
                this.pncontrol.Loaded += new System.Windows.RoutedEventHandler(this.userControl_Loaded);

            #line default
            #line hidden
                return;

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

            case 3:
                this.voltmetr1 = ((VirtualPultValves.PultControl.Voltmetr)(target));
                return;

            case 4:
                this.kip = ((VirtualPultValves.PultControl.PultBigButton)(target));
                return;

            case 5:
                this.grPK = ((System.Windows.Controls.Grid)(target));
                return;

            case 6:
                this.kts = ((VirtualPultValves.PultControl.PultBigButton)(target));
                return;

            case 7:
                this.brdTen = ((System.Windows.Controls.Border)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.npcontrol = ((VirtualPultValves.Views.View_NeptunP2)(target));

            #line 8 "..\..\..\..\Views\View_NeptunP2.xaml"
                this.npcontrol.Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden

            #line 8 "..\..\..\..\Views\View_NeptunP2.xaml"
                this.npcontrol.Unloaded += new System.Windows.RoutedEventHandler(this.UserControl_Unloaded);

            #line default
            #line hidden
                return;

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

            case 3:
                this.voltmetr1 = ((VirtualPultValves.PultControl.Voltmetr)(target));
                return;

            case 4:
                this.kip = ((VirtualPultValves.PultControl.PultBigButton)(target));
                return;

            case 5:
                this.croot = ((System.Windows.Controls.Canvas)(target));
                return;

            case 6:
                this.Bi = ((System.Windows.Controls.CheckBox)(target));

            #line 289 "..\..\..\..\Views\View_NeptunP2.xaml"
                this.Bi.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.CheckBox_PreviewMouseDown);

            #line default
            #line hidden

            #line 289 "..\..\..\..\Views\View_NeptunP2.xaml"
                this.Bi.Click += new System.Windows.RoutedEventHandler(this.CheckBox_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.KK = ((System.Windows.Controls.CheckBox)(target));

            #line 290 "..\..\..\..\Views\View_NeptunP2.xaml"
                this.KK.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.CheckBox_PreviewMouseDown);

            #line default
            #line hidden

            #line 290 "..\..\..\..\Views\View_NeptunP2.xaml"
                this.KK.Click += new System.Windows.RoutedEventHandler(this.CheckBox_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.Ki = ((System.Windows.Controls.CheckBox)(target));

            #line 291 "..\..\..\..\Views\View_NeptunP2.xaml"
                this.Ki.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.CheckBox_PreviewMouseDown);

            #line default
            #line hidden

            #line 291 "..\..\..\..\Views\View_NeptunP2.xaml"
                this.Ki.Click += new System.Windows.RoutedEventHandler(this.CheckBox_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }