Пример #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.myWindow = ((Color_Picker__Kaspersoft_.ColorProfile)(target));
                return;

            case 2:

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

            #line default
            #line hidden

            #line 10 "..\..\ColorProfile.xaml"
                ((System.Windows.Controls.Border)(target)).MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.Border_MouseUp);

            #line default
            #line hidden
                return;

            case 3:
                this.CL = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.ATB = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.RTB = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:
                this.GTB = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.BTB = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

            #line 21 "..\..\ColorProfile.xaml"
                this.button.Click += new System.Windows.RoutedEventHandler(this.button_Click);

            #line default
            #line hidden
                return;

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

            #line 22 "..\..\ColorProfile.xaml"
                this.button_Copy.Click += new System.Windows.RoutedEventHandler(this.button_Copy_Click);

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