Example #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.PART_ColorPicker = ((Imagin.Common.Media.Controls.ColorPicker)(target));
         return;
     }
     this._contentLoaded = true;
 }
Example #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.PART_ColorPicker = ((Imagin.Common.Media.Controls.ColorPicker)(target));
                return;

            case 2:
                this.PART_Models = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 3:
                this.PART_CMYK = ((System.Windows.Controls.ContentControl)(target));
                return;

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

            case 5:

            #line 323 "..\..\..\..\..\Media\Controls\ColorPicker\ColorPicker.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnRevert);

            #line default
            #line hidden
                return;

            case 6:

            #line 327 "..\..\..\..\..\Media\Controls\ColorPicker\ColorPicker.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnSave);

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