void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.PART_GradientPicker = ((Imagin.Controls.Extended.GradientPicker)(target)); return; case 2: #line 30 "..\..\..\(Dialogs)\GradientDialog.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnSave); #line default #line hidden return; case 3: #line 34 "..\..\..\(Dialogs)\GradientDialog.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnCancel); #line default #line hidden return; } this._contentLoaded = true; }
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; }