示例#1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.OVKControl = ((VirtualPultValves.Views.View_OVK)(target));
                return;

            case 3:
                this.groot = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:

            #line 1140 "..\..\..\..\Views\View_OVK.xaml"
                ((System.Windows.Controls.Button)(target)).PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Button_PreviewMouseDown);

            #line default
            #line hidden

            #line 1140 "..\..\..\..\Views\View_OVK.xaml"
                ((System.Windows.Controls.Button)(target)).PreviewMouseUp += new System.Windows.Input.MouseButtonEventHandler(this.Button_PreviewMouseUp);

            #line default
            #line hidden
                return;

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

            case 6:
                this.OVK_Label1 = ((System.Windows.Shapes.Path)(target));

            #line 1228 "..\..\..\..\Views\View_OVK.xaml"
                this.OVK_Label1.SizeChanged += new System.Windows.SizeChangedEventHandler(this.OVK_Label_SizeChanged);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MyRow0 = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 2:
                this.MyRow1 = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 3:
                this.MyCollumn1 = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 4:
                this.MyCollumn2 = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 5:

            #line 422 "..\..\LeftInpuView.xaml"
                ((VirtualPultValves.PultControl.PultGlassButton)(target)).PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.PultGlassButton_PreviewMouseDown);

            #line default
            #line hidden

            #line 422 "..\..\LeftInpuView.xaml"
                ((VirtualPultValves.PultControl.PultGlassButton)(target)).PreviewMouseUp += new System.Windows.Input.MouseButtonEventHandler(this.PultGlassButton_PreviewMouseUp);

            #line default
            #line hidden
                return;

            case 6:

            #line 423 "..\..\LeftInpuView.xaml"
                ((VirtualPultValves.PultControl.PultGlassButton)(target)).PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.PultGlassButton_PreviewMouseDown);

            #line default
            #line hidden

            #line 423 "..\..\LeftInpuView.xaml"
                ((VirtualPultValves.PultControl.PultGlassButton)(target)).PreviewMouseUp += new System.Windows.Input.MouseButtonEventHandler(this.PultGlassButton_PreviewMouseUp);

            #line default
            #line hidden
                return;

            case 7:

            #line 609 "..\..\LeftInpuView.xaml"
                ((VirtualPultValves.PultControl.PultGlassButton)(target)).PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.PultGlassButton_PreviewMouseDown);

            #line default
            #line hidden

            #line 609 "..\..\LeftInpuView.xaml"
                ((VirtualPultValves.PultControl.PultGlassButton)(target)).PreviewMouseUp += new System.Windows.Input.MouseButtonEventHandler(this.PultGlassButton_PreviewMouseUp);

            #line default
            #line hidden
                return;

            case 8:
                this.view_TC1 = ((VirtualPultValves.Views.View_TC)(target));
                return;

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

            case 10:
                this.button2 = ((System.Windows.Controls.Button)(target));
                return;

            case 11:
                this.OVK1 = ((VirtualPultValves.Views.View_OVK)(target));
                return;

            case 12:
                this.comCO = ((System.Windows.Controls.Border)(target));
                return;

            case 13:
                this.coText = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 14:
                this.WinPult = ((System.Windows.Controls.ContentControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 12 "..\..\..\..\Views\View_InPU.xaml"
                ((VirtualPultValves.Views.View_InPU)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden

            #line 12 "..\..\..\..\Views\View_InPU.xaml"
                ((VirtualPultValves.Views.View_InPU)(target)).PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.UserControl_KeyDown);

            #line default
            #line hidden
                return;

            case 2:

            #line 382 "..\..\..\..\Views\View_InPU.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.BtnCmdExecuted);

            #line default
            #line hidden

            #line 383 "..\..\..\..\Views\View_InPU.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.BtnCmdCanExecute);

            #line default
            #line hidden
                return;

            case 3:
                this.MyRow0 = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 4:
                this.MyRow1 = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 5:
                this.MyCollumn1 = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 6:
                this.MyCollumn2 = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

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

            case 8:
                this.view_TC1 = ((VirtualPultValves.Views.View_TC)(target));
                return;

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

            case 10:
                this.button2 = ((System.Windows.Controls.Button)(target));
                return;

            case 11:
                this.OVK_ROW = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 12:
                this.OVK1 = ((VirtualPultValves.Views.View_OVK)(target));
                return;

            case 13:
                this.comCO = ((System.Windows.Controls.Border)(target));
                return;

            case 14:
                this.coText = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 15:
                this.view_NeptunP11 = ((VirtualPultValves.Views.View_NeptunP1)(target));
                return;

            case 16:
                this.RUSKlapan = ((VirtualPultValves.Views.View_RUS)(target));
                return;

            case 17:
                this.WinPult = ((System.Windows.Controls.ContentControl)(target));
                return;
            }
            this._contentLoaded = true;
        }