示例#1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.PART_ColorSelector = ((Imagin.Common.Colour.Controls.ColorSelector)(target));
                return;

            case 2:
                this.PART_ColorPlane = ((Imagin.Common.Colour.Controls.ColorPlane)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.PART_ColorPlane = ((Imagin.Common.Colour.Controls.ColorPlane)(target));
                return;

            case 2:
                this.PART_Image = ((System.Windows.Controls.Image)(target));

            #line 30 "..\..\..\..\..\Colour\_Controls\ColorPicker\ColorPlane.xaml"
                this.PART_Image.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.OnMouseDown);

            #line default
            #line hidden

            #line 31 "..\..\..\..\..\Colour\_Controls\ColorPicker\ColorPlane.xaml"
                this.PART_Image.MouseMove += new System.Windows.Input.MouseEventHandler(this.OnMouseMove);

            #line default
            #line hidden

            #line 32 "..\..\..\..\..\Colour\_Controls\ColorPicker\ColorPlane.xaml"
                this.PART_Image.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.OnMouseUp);

            #line default
            #line hidden
                return;

            case 3:
                this.PART_SelectionA = ((Imagin.Common.Colour.Controls.ColorSelection)(target));
                return;

            case 4:
                this.PART_SelectionB = ((Imagin.Common.Colour.Controls.ColorSelection)(target));
                return;
            }
            this._contentLoaded = true;
        }