Пример #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.PART_ColorChip = ((Imagin.Controls.Extended.ColorChip)(target));
         return;
     }
     this._contentLoaded = true;
 }
Пример #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.PART_GradientEditor = ((Imagin.Controls.Extended.GradientEditor)(target));
                return;

            case 2:
                this.PART_BandsSlider = ((System.Windows.Controls.Slider)(target));
                return;

            case 3:
                this.PART_ColorChip = ((Imagin.Controls.Extended.ColorChip)(target));
                return;

            case 4:

            #line 114 "..\..\..\GradientEditor.xaml"
                ((Imagin.Controls.Common.DoubleUpDown)(target)).TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.OnPointChanged);

            #line default
            #line hidden
                return;

            case 5:

            #line 124 "..\..\..\GradientEditor.xaml"
                ((Imagin.Controls.Common.DoubleUpDown)(target)).TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.OnPointChanged);

            #line default
            #line hidden
                return;

            case 6:

            #line 150 "..\..\..\GradientEditor.xaml"
                ((Imagin.Controls.Common.DoubleUpDown)(target)).TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.OnPointChanged);

            #line default
            #line hidden
                return;

            case 7:

            #line 160 "..\..\..\GradientEditor.xaml"
                ((Imagin.Controls.Common.DoubleUpDown)(target)).TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.OnPointChanged);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.backChip = ((Imagin.Controls.Extended.ColorChip)(target));
                return;

            case 2:
                this.foreChip = ((Imagin.Controls.Extended.ColorChip)(target));
                return;

            case 3:
                this.rBackgroundDefault = ((System.Windows.Shapes.Rectangle)(target));

            #line 40 "..\..\ForegroundBackgroundChip.xaml"
                this.rBackgroundDefault.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.rBackgroundDefault_MouseDown);

            #line default
            #line hidden
                return;

            case 4:
                this.rForegroundDefault = ((System.Windows.Shapes.Rectangle)(target));

            #line 41 "..\..\ForegroundBackgroundChip.xaml"
                this.rForegroundDefault.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.rForegroundDefault_MouseDown);

            #line default
            #line hidden
                return;

            case 5:
                this.rSwitch = ((System.Windows.Shapes.Rectangle)(target));

            #line 42 "..\..\ForegroundBackgroundChip.xaml"
                this.rSwitch.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.rSwitch_MouseDown);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Пример #4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.PART_GradientEditor = ((Imagin.Controls.Extended.GradientPicker)(target));
                return;

            case 2:
                this.PART_BandsSlider = ((System.Windows.Controls.Slider)(target));
                return;

            case 3:
                this.PART_ColorChip = ((Imagin.Controls.Extended.ColorChip)(target));
                return;

            case 4:
                this.PART_AnglePicker = ((Imagin.Controls.Extended.AnglePicker)(target));
                return;
            }
            this._contentLoaded = true;
        }