Пример #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.userControl = ((PD.UI.UC_Setting_Button)(target));

            #line 8 "..\..\..\UI\UC_Setting_Button.xaml"
                this.userControl.MouseEnter += new System.Windows.Input.MouseEventHandler(this.userControl_MouseEnter);

            #line default
            #line hidden

            #line 9 "..\..\..\UI\UC_Setting_Button.xaml"
                this.userControl.MouseLeave += new System.Windows.Input.MouseEventHandler(this.userControl_MouseLeave);

            #line default
            #line hidden
                return;

            case 2:
                this.border_background = ((System.Windows.Controls.Border)(target));
                return;

            case 3:
                this.txtblock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this.run_Auto_Connect_TLS = ((System.Windows.Documents.Run)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ComBox_TLS_WL_Range = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 2:
                this.ComBox_Station_Type = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            #line 80 "..\..\..\NavigationPages\Page_Setting.xaml"
                this.ComBox_Control_Board_Type.DropDownClosed += new System.EventHandler(this.ComBox_Control_Board_Type_DropDownClosed);

            #line default
            #line hidden

            #line 81 "..\..\..\NavigationPages\Page_Setting.xaml"
                this.ComBox_Control_Board_Type.DropDownOpened += new System.EventHandler(this.ComBox_Control_Board_Type_DropDownOpened);

            #line default
            #line hidden
                return;

            case 4:
                this.ComBox_K_WL_Type = ((System.Windows.Controls.ComboBox)(target));

            #line 104 "..\..\..\NavigationPages\Page_Setting.xaml"
                this.ComBox_K_WL_Type.DropDownClosed += new System.EventHandler(this.ComBox_K_WL_Type_DropDownClosed);

            #line default
            #line hidden
                return;

            case 5:
                this.ComBox_Laser_Selection = ((System.Windows.Controls.ComboBox)(target));

            #line 113 "..\..\..\NavigationPages\Page_Setting.xaml"
                this.ComBox_Laser_Selection.DropDownClosed += new System.EventHandler(this.ComBox_Laser_Selection_DropDownClosed);

            #line default
            #line hidden

            #line 114 "..\..\..\NavigationPages\Page_Setting.xaml"
                this.ComBox_Laser_Selection.DropDownOpened += new System.EventHandler(this.ComBox_Laser_Selection_DropDownOpened);

            #line default
            #line hidden
                return;

            case 6:
                this.btn_board_comport = ((PD.UI.UC_Setting_Button)(target));

            #line 224 "..\..\..\NavigationPages\Page_Setting.xaml"
                this.btn_board_comport.AddHandler(System.Windows.Controls.Primitives.ButtonBase.ClickEvent, new System.Windows.RoutedEventHandler(this.btn_board_comport_Click));

            #line default
            #line hidden
                return;

            case 7:
                this.btn_ini = ((PD.UI.UC_Setting_Button)(target));

            #line 228 "..\..\..\NavigationPages\Page_Setting.xaml"
                this.btn_ini.AddHandler(System.Windows.Controls.Primitives.ButtonBase.ClickEvent, new System.Windows.RoutedEventHandler(this.btn_ini_Click));

            #line default
            #line hidden
                return;

            case 8:
                this.txt_path = ((System.Windows.Controls.TextBox)(target));
                return;

            case 9:
                this.txt_save_wl_data_path = ((System.Windows.Controls.TextBox)(target));
                return;

            case 10:

            #line 261 "..\..\..\NavigationPages\Page_Setting.xaml"
                ((PD.UI.UC_Setting_ToggleButton)(target)).AddHandler(System.Windows.Controls.Primitives.ToggleButton.CheckedEvent, new System.Windows.RoutedEventHandler(this.UC_Setting_ToggleButton_Checked));

            #line default
            #line hidden
                return;

            case 11:
                this.Img_gif = ((System.Windows.Controls.Image)(target));

            #line 270 "..\..\..\NavigationPages\Page_Setting.xaml"
                this.Img_gif.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Img_gif_MouseEnter);

            #line default
            #line hidden

            #line 271 "..\..\..\NavigationPages\Page_Setting.xaml"
                this.Img_gif.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Img_gif_MouseLeave);

            #line default
            #line hidden

            #line 272 "..\..\..\NavigationPages\Page_Setting.xaml"
                this.Img_gif.Loaded += new System.Windows.RoutedEventHandler(this.Img_gif_Loaded);

            #line default
            #line hidden

            #line 274 "..\..\..\NavigationPages\Page_Setting.xaml"
                this.Img_gif.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Img_gif_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 275 "..\..\..\NavigationPages\Page_Setting.xaml"
                this.Img_gif.PreviewMouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Img_gif_MouseRightButtonDown);

            #line default
            #line hidden
                return;

            case 12:

            #line 281 "..\..\..\NavigationPages\Page_Setting.xaml"
                ((System.Windows.Controls.Image)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Image_Loaded);

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