void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.uc = ((CH10.UserControls.ColorPicker)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.picker = ((CH10.UserControls.ColorPicker)(target)); #line 12 "..\..\MainWindow.xaml" this.picker.SelectedColorChanged += new System.Windows.RoutedPropertyChangedEventHandler <System.Windows.Media.Color>(this.OnColorChanged); #line default #line hidden return; case 2: this._tbColor = ((System.Windows.Controls.TextBlock)(target)); return; } this._contentLoaded = true; }