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

            #line 13 "..\..\MainWindow.xaml"
                this.mainborder.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Border_MouseDown);

            #line default
            #line hidden
                return;

            case 2:

            #line 25 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.TextBox)(target)).TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_TextChanged);

            #line default
            #line hidden
                return;

            case 3:

            #line 47 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Label)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Label_MouseDown);

            #line default
            #line hidden
                return;

            case 4:

            #line 48 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Label)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Label_MouseDown);

            #line default
            #line hidden
                return;

            case 5:

            #line 49 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Label)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Label_MouseDown);

            #line default
            #line hidden
                return;

            case 6:

            #line 60 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Label)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Label_MouseDown);

            #line default
            #line hidden
                return;

            case 7:

            #line 61 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Label)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Label_MouseDown);

            #line default
            #line hidden
                return;

            case 8:

            #line 62 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Label)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Label_MouseDown);

            #line default
            #line hidden
                return;

            case 9:
                this.lblMinus = ((System.Windows.Controls.Label)(target));
                return;

            case 10:
                this.ucLogin = ((TestPCBAForGW040x.UserControls.ucLogin)(target));
                return;

            case 11:
                this.ucStep = ((TestPCBAForGW040x.UserControls.ucStep)(target));
                return;

            case 12:
                this.ucSetting = ((TestPCBAForGW040x.UserControls.ucSetting)(target));
                return;

            case 13:
                this.ucTesting = ((TestPCBAForGW040x.UserControls.ucTesting)(target));
                return;

            case 14:

            #line 78 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Label)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Label_MouseDown);

            #line default
            #line hidden
                return;

            case 15:

            #line 79 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Label)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Label_MouseDown);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 11 "..\..\..\UserControls\MainWindow.xaml"
                ((System.Windows.Controls.Border)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Border_MouseDown);

            #line default
            #line hidden
                return;

            case 2:

            #line 23 "..\..\..\UserControls\MainWindow.xaml"
                ((System.Windows.Controls.TextBox)(target)).TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_TextChanged);

            #line default
            #line hidden
                return;

            case 3:

            #line 46 "..\..\..\UserControls\MainWindow.xaml"
                ((System.Windows.Controls.Label)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Label_MouseDown);

            #line default
            #line hidden
                return;

            case 4:

            #line 56 "..\..\..\UserControls\MainWindow.xaml"
                ((System.Windows.Controls.Label)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Label_MouseDown);

            #line default
            #line hidden
                return;

            case 5:

            #line 57 "..\..\..\UserControls\MainWindow.xaml"
                ((System.Windows.Controls.Label)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Label_MouseDown);

            #line default
            #line hidden
                return;

            case 6:
                this.lblMinus = ((System.Windows.Controls.Label)(target));
                return;

            case 7:
                this.ucSetting = ((TestPCBAForGW040x.UserControls.ucSetting)(target));
                return;

            case 8:
                this.ucTesting = ((TestPCBAForGW040x.UserControls.ucTesting)(target));
                return;
            }
            this._contentLoaded = true;
        }