Exemple #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mother = ((MC_EF_RS232_CAN.View.UC.UC_Main.UC_Main)(target));
                return;

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

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

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

            case 6:
                this.lowerRow = ((System.Windows.Controls.RowDefinition)(target));
                return;

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

            #line 201 "..\..\..\..\..\View\UC\UC_Main\UC_Main.xaml"
                this.LeftGrid.IsVisibleChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.LeftGrid_OnIsVisibleChanged);

            #line default
            #line hidden
                return;

            case 8:
                this.loopCombo = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 9:

            #line 239 "..\..\..\..\..\View\UC\UC_Main\UC_Main.xaml"
                ((System.Windows.Controls.TextBox)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.CmdTextBoxKeyPressed);

            #line default
            #line hidden
                return;

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

            case 11:
                this.sciChartOsciloscope = ((MC_EF_RS232_CAN.View.UC.SciChartOsciloscope)(target));
                return;

            case 12:
                this.RightGrid = ((System.Windows.Controls.Grid)(target));

            #line 273 "..\..\..\..\..\View\UC\UC_Main\UC_Main.xaml"
                this.RightGrid.IsVisibleChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.LeftGrid_OnIsVisibleChanged);

            #line default
            #line hidden
                return;

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

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

            case 15:

            #line 303 "..\..\..\..\..\View\UC\UC_Main\UC_Main.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Btn_Can_Advanced_Clicked);

            #line default
            #line hidden
                return;

            case 16:
                this.BottomGrid = ((System.Windows.Controls.Grid)(target));

            #line 364 "..\..\..\..\..\View\UC\UC_Main\UC_Main.xaml"
                this.BottomGrid.IsVisibleChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.LeftGrid_OnIsVisibleChanged);

            #line default
            #line hidden
                return;

            case 17:
                this.bottomScrollViewer = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 18:
                this.Grid_cmds = ((System.Windows.Controls.Grid)(target));
                return;

            case 19:

            #line 437 "..\..\..\..\..\View\UC\UC_Main\UC_Main.xaml"
                ((System.Windows.Controls.TextBox)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.CmdTextBoxKeyPressed);

            #line default
            #line hidden
                return;

            case 20:

            #line 451 "..\..\..\..\..\View\UC\UC_Main\UC_Main.xaml"
                ((System.Windows.Controls.TextBox)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.CmdTextBoxKeyPressed);

            #line default
            #line hidden
                return;

            case 21:
                this.motorBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 22:
                this.GRID_BOTTOM_VISIBILITY = ((System.Windows.Controls.Grid)(target));
                return;

            case 23:
                this.toggle_bottomGrid = ((System.Windows.Controls.Button)(target));

            #line 495 "..\..\..\..\..\View\UC\UC_Main\UC_Main.xaml"
                this.toggle_bottomGrid.Click += new System.Windows.RoutedEventHandler(this.btn_visibility_manager_clicked);

            #line default
            #line hidden
                return;

            case 24:
                this.GRID_LEFT_VISIBILITY = ((System.Windows.Controls.Grid)(target));
                return;

            case 25:
                this.toggle_leftGrid = ((System.Windows.Controls.Button)(target));

            #line 511 "..\..\..\..\..\View\UC\UC_Main\UC_Main.xaml"
                this.toggle_leftGrid.Click += new System.Windows.RoutedEventHandler(this.btn_visibility_manager_clicked);

            #line default
            #line hidden
                return;

            case 26:
                this.GRID_RIGHT_VISIBILITY = ((System.Windows.Controls.Grid)(target));
                return;

            case 27:
                this.toggle_rightGrid = ((System.Windows.Controls.Button)(target));

            #line 546 "..\..\..\..\..\View\UC\UC_Main\UC_Main.xaml"
                this.toggle_rightGrid.Click += new System.Windows.RoutedEventHandler(this.btn_visibility_manager_clicked);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mother = ((MC_EF_RS232_CAN.View_BasedOn_LVRS232.UC.Plot.UC_Main)(target));
                return;

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

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

            case 5:
                this.lowerRow = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 6:
                this.LeftGrid = ((System.Windows.Controls.Grid)(target));

            #line 175 "..\..\..\..\..\View_BasedOn_LVRS232\UC\Plot\UC_Main.xaml"
                this.LeftGrid.IsVisibleChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.LeftGrid_OnIsVisibleChanged);

            #line default
            #line hidden
                return;

            case 7:
                this.loopCombo = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 8:

            #line 213 "..\..\..\..\..\View_BasedOn_LVRS232\UC\Plot\UC_Main.xaml"
                ((System.Windows.Controls.TextBox)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.CmdTextBoxKeyPressed);

            #line default
            #line hidden
                return;

            case 9:
                this.GraphGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 10:
                this.sciChartOsciloscope = ((MC_EF_RS232_CAN.View.UC.SciChartOsciloscope)(target));
                return;

            case 11:
                this.BottomGrid = ((System.Windows.Controls.Grid)(target));

            #line 252 "..\..\..\..\..\View_BasedOn_LVRS232\UC\Plot\UC_Main.xaml"
                this.BottomGrid.IsVisibleChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.LeftGrid_OnIsVisibleChanged);

            #line default
            #line hidden
                return;

            case 12:

            #line 336 "..\..\..\..\..\View_BasedOn_LVRS232\UC\Plot\UC_Main.xaml"
                ((System.Windows.Controls.TextBox)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.CmdTextBoxKeyPressed);

            #line default
            #line hidden
                return;

            case 13:

            #line 350 "..\..\..\..\..\View_BasedOn_LVRS232\UC\Plot\UC_Main.xaml"
                ((System.Windows.Controls.TextBox)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.CmdTextBoxKeyPressed);

            #line default
            #line hidden
                return;

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

            case 15:
                this.GRID_BOTTOM_VISIBILITY = ((System.Windows.Controls.Grid)(target));
                return;

            case 16:
                this.toggle_bottomGrid = ((System.Windows.Controls.Button)(target));

            #line 394 "..\..\..\..\..\View_BasedOn_LVRS232\UC\Plot\UC_Main.xaml"
                this.toggle_bottomGrid.Click += new System.Windows.RoutedEventHandler(this.btn_visibility_manager_clicked);

            #line default
            #line hidden
                return;

            case 17:
                this.GRID_LEFT_VISIBILITY = ((System.Windows.Controls.Grid)(target));
                return;

            case 18:
                this.toggle_leftGrid = ((System.Windows.Controls.Button)(target));

            #line 410 "..\..\..\..\..\View_BasedOn_LVRS232\UC\Plot\UC_Main.xaml"
                this.toggle_leftGrid.Click += new System.Windows.RoutedEventHandler(this.btn_visibility_manager_clicked);

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