void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.btnSet = ((System.Windows.Controls.Button)(target)); #line 24 "..\..\MainWindow.xaml" this.btnSet.Click += new System.Windows.RoutedEventHandler(this.btnSet_Click); #line default #line hidden return; case 2: this.plPorts = ((WPF_LED_Controller.UserControls.PortList)(target)); return; case 3: this.cpColor = ((WPF_LED_Controller.UserControls.ColorPicker)(target)); return; case 4: this.cbDisco = ((System.Windows.Controls.CheckBox)(target)); return; case 5: this.btnDiso = ((System.Windows.Controls.Button)(target)); #line 36 "..\..\MainWindow.xaml" this.btnDiso.Click += new System.Windows.RoutedEventHandler(this.btnDiso_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.cpcColor = ((WPF_LED_Controller.UserControls.ColorPicker)(target)); return; case 2: this.Outer = ((System.Windows.Controls.StackPanel)(target)); return; case 3: this.Red = ((System.Windows.Controls.StackPanel)(target)); return; case 4: this.txtRed = ((System.Windows.Controls.TextBox)(target)); #line 16 "..\..\..\UserControls\ColorPicker.xaml" this.txtRed.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtRed_TextChanged); #line default #line hidden #line 16 "..\..\..\UserControls\ColorPicker.xaml" this.txtRed.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.txtRGB_PreviewKeyDown); #line default #line hidden return; case 5: this.Green = ((System.Windows.Controls.StackPanel)(target)); return; case 6: this.txtGreen = ((System.Windows.Controls.TextBox)(target)); #line 22 "..\..\..\UserControls\ColorPicker.xaml" this.txtGreen.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtGreen_TextChanged); #line default #line hidden #line 22 "..\..\..\UserControls\ColorPicker.xaml" this.txtGreen.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.txtRGB_PreviewKeyDown); #line default #line hidden return; case 7: this.Blue = ((System.Windows.Controls.StackPanel)(target)); return; case 8: this.txtBlue = ((System.Windows.Controls.TextBox)(target)); #line 29 "..\..\..\UserControls\ColorPicker.xaml" this.txtBlue.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtBlue_TextChanged); #line default #line hidden #line 29 "..\..\..\UserControls\ColorPicker.xaml" this.txtBlue.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.txtRGB_PreviewKeyDown); #line default #line hidden return; case 9: this.txtHAll = ((System.Windows.Controls.TextBox)(target)); #line 38 "..\..\..\UserControls\ColorPicker.xaml" this.txtHAll.KeyDown += new System.Windows.Input.KeyEventHandler(this.txtHAll_KeyDown); #line default #line hidden return; case 10: this.canColor = ((WPF_LED_Controller.UserControls.ColorSwatch)(target)); return; case 11: this.lblSaved = ((System.Windows.Controls.Label)(target)); return; case 12: this.recSaved = ((System.Windows.Shapes.Rectangle)(target)); return; case 13: this.lblHovered = ((System.Windows.Controls.Label)(target)); return; case 14: this.recHover = ((System.Windows.Shapes.Rectangle)(target)); return; } this._contentLoaded = true; }