void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.PART_ColorPicker = ((Imagin.Controls.Extended.ColorPicker)(target)); return; case 2: this.PART_ColorSelector = ((Imagin.Controls.Extended.ColorSelector)(target)); return; case 3: this.newCurrent = ((Imagin.Controls.Extended.NewCurrent)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.PART_ColorSelector = ((Imagin.Controls.Extended.ColorSelector)(target)); return; case 2: this.PART_ColorPlane = ((System.Windows.Controls.Image)(target)); #line 42 "..\..\..\ColorPicker\ColorSelector.xaml" this.PART_ColorPlane.MouseMove += new System.Windows.Input.MouseEventHandler(this.OnColorPlaneMouseMove); #line default #line hidden #line 43 "..\..\..\ColorPicker\ColorSelector.xaml" this.PART_ColorPlane.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.OnColorPlaneMouseUp); #line default #line hidden return; case 3: this.PART_SelectionEllipse = ((System.Windows.Shapes.Ellipse)(target)); return; case 4: this.PART_SelectionOuterEllipse = ((System.Windows.Shapes.Ellipse)(target)); return; case 5: this.PART_Image = ((System.Windows.Controls.Image)(target)); #line 76 "..\..\..\ColorPicker\ColorSelector.xaml" this.PART_Image.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.OnColorSliderMouseDown); #line default #line hidden #line 77 "..\..\..\ColorPicker\ColorSelector.xaml" this.PART_Image.MouseMove += new System.Windows.Input.MouseEventHandler(this.OnColorSliderMouseMove); #line default #line hidden #line 78 "..\..\..\ColorPicker\ColorSelector.xaml" this.PART_Image.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.OnColorSliderMouseUp); #line default #line hidden return; case 6: this.PART_Slider = ((System.Windows.Controls.Slider)(target)); #line 92 "..\..\..\ColorPicker\ColorSelector.xaml" this.PART_Slider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.OnColorSliderValueChanged); #line default #line hidden return; case 7: this.PART_AlphaSlider = ((Imagin.Controls.Extended.AlphaSlider)(target)); return; } this._contentLoaded = true; }