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

            case 2:
                this.PART_GradientEditor = ((Imagin.Controls.Extended.GradientEditor)(target));
                return;

            case 3:

            #line 27 "..\..\..\..\Dialogs\GradientDialog.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnSave);

            #line default
            #line hidden
                return;

            case 4:

            #line 31 "..\..\..\..\Dialogs\GradientDialog.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnCancel);

            #line default
            #line hidden
                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;
        }
示例#3
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:
                this.PART_AnglePicker = ((Imagin.Controls.Extended.AnglePicker)(target));
                return;
            }
            this._contentLoaded = true;
        }