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