void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.sldValue = ((HandGestures.GUI.LabelSlider)(target)); return; case 2: this.cmdOK = ((System.Windows.Controls.Button)(target)); #line 8 "..\..\..\..\GUI\Windows\WindowNumericValuePicker.xaml" this.cmdOK.Click += new System.Windows.RoutedEventHandler(this.cmdOK_Click); #line default #line hidden return; case 3: this.cmdCancel = ((System.Windows.Controls.Button)(target)); #line 9 "..\..\..\..\GUI\Windows\WindowNumericValuePicker.xaml" this.cmdCancel.Click += new System.Windows.RoutedEventHandler(this.cmdCancel_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 5 "..\..\MainWindow.xaml" ((HandGestures.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing); #line default #line hidden return; case 2: this.groupBox1 = ((System.Windows.Controls.GroupBox)(target)); return; case 3: this.picOut = ((System.Windows.Controls.Image)(target)); return; case 4: this.sldExposure = ((HandGestures.GUI.LabelSlider)(target)); return; case 5: this.label3 = ((System.Windows.Controls.Label)(target)); return; case 6: this.sldBrightness = ((HandGestures.GUI.LabelSlider)(target)); return; case 7: this.label4 = ((System.Windows.Controls.Label)(target)); return; case 8: this.sldContrast = ((HandGestures.GUI.LabelSlider)(target)); return; case 9: this.label5 = ((System.Windows.Controls.Label)(target)); return; case 10: this.label6 = ((System.Windows.Controls.Label)(target)); return; case 11: this.cmbRoom = ((System.Windows.Controls.ComboBox)(target)); #line 38 "..\..\MainWindow.xaml" this.cmbRoom.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbRoom_SelectionChanged); #line default #line hidden return; case 12: this.cmdSaveConfig = ((System.Windows.Controls.Button)(target)); #line 39 "..\..\MainWindow.xaml" this.cmdSaveConfig.Click += new System.Windows.RoutedEventHandler(this.cmdSaveConfig_Click); #line default #line hidden return; case 13: this.txtConfigName = ((System.Windows.Controls.TextBox)(target)); return; case 14: this.sldTolerance = ((HandGestures.GUI.LabelSlider)(target)); return; case 15: this.label7 = ((System.Windows.Controls.Label)(target)); return; case 16: this.sldLightTolerance = ((HandGestures.GUI.LabelSlider)(target)); return; case 17: this.label8 = ((System.Windows.Controls.Label)(target)); return; case 18: this.groupBox2 = ((System.Windows.Controls.GroupBox)(target)); return; case 19: this.label9 = ((System.Windows.Controls.Label)(target)); return; case 20: this.txtIndexR = ((System.Windows.Controls.TextBox)(target)); #line 48 "..\..\MainWindow.xaml" this.txtIndexR.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.IndexColor_TextChanged); #line default #line hidden return; case 21: this.txtIndexG = ((System.Windows.Controls.TextBox)(target)); #line 49 "..\..\MainWindow.xaml" this.txtIndexG.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.IndexColor_TextChanged); #line default #line hidden return; case 22: this.txtIndexB = ((System.Windows.Controls.TextBox)(target)); #line 50 "..\..\MainWindow.xaml" this.txtIndexB.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.IndexColor_TextChanged); #line default #line hidden return; case 23: this.label10 = ((System.Windows.Controls.Label)(target)); return; case 24: this.txtSideR = ((System.Windows.Controls.TextBox)(target)); #line 52 "..\..\MainWindow.xaml" this.txtSideR.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.SideColor_TextChanged); #line default #line hidden return; case 25: this.txtSideG = ((System.Windows.Controls.TextBox)(target)); #line 53 "..\..\MainWindow.xaml" this.txtSideG.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.SideColor_TextChanged); #line default #line hidden return; case 26: this.txtSideB = ((System.Windows.Controls.TextBox)(target)); #line 54 "..\..\MainWindow.xaml" this.txtSideB.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.SideColor_TextChanged); #line default #line hidden return; case 27: this.rectIndexColor = ((System.Windows.Shapes.Rectangle)(target)); return; case 28: this.rectSideColor = ((System.Windows.Shapes.Rectangle)(target)); return; case 29: this.label1 = ((System.Windows.Controls.Label)(target)); return; case 30: this.cmbControllers = ((System.Windows.Controls.ComboBox)(target)); #line 64 "..\..\MainWindow.xaml" this.cmbControllers.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbControllers_SelectionChanged); #line default #line hidden return; case 31: this.label2 = ((System.Windows.Controls.Label)(target)); return; case 32: this.listControllerSettings = ((System.Windows.Controls.ListBox)(target)); #line 66 "..\..\MainWindow.xaml" this.listControllerSettings.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.listControllerSettings_MouseDoubleClick); #line default #line hidden return; case 33: this.chkInputEnable = ((System.Windows.Controls.CheckBox)(target)); return; } this._contentLoaded = true; }