void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 11 "..\..\..\SetCamera\WinSetCamera.xaml" ((Camera.WinSetCamera)(target)).Loaded += new System.Windows.RoutedEventHandler(this.BaseMetroWindow_Loaded); #line default #line hidden #line 11 "..\..\..\SetCamera\WinSetCamera.xaml" ((Camera.WinSetCamera)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.BaseMetroWindow_Closing); #line default #line hidden return; case 2: this.setCamera1 = ((Camera.SetCamera)(target)); return; case 3: this.setCamera2 = ((Camera.SetCamera)(target)); return; case 4: this.setCamera3 = ((Camera.SetCamera)(target)); return; case 5: this.setCamera4 = ((Camera.SetCamera)(target)); return; case 6: this.setCamera5 = ((Camera.SetCamera)(target)); return; case 7: this.setCamera6 = ((Camera.SetCamera)(target)); return; case 8: this.setCamera7 = ((Camera.SetCamera)(target)); return; case 9: this.setCamera8 = ((Camera.SetCamera)(target)); return; case 10: this.grid2 = ((System.Windows.Controls.Grid)(target)); return; case 11: this.dudNumCamera = ((ControlLib.DoubleUpDown)(target)); #line 91 "..\..\..\SetCamera\WinSetCamera.xaml" this.dudNumCamera.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.dudNumCamera_ValueChanged); #line default #line hidden return; case 12: this.btnClose = ((ControlLib.ButtonBase)(target)); #line 93 "..\..\..\SetCamera\WinSetCamera.xaml" this.btnClose.Click += new System.Windows.RoutedEventHandler(this.btnClose_Click); #line default #line hidden return; case 13: this.grid3 = ((System.Windows.Controls.Grid)(target)); return; case 14: this.label1 = ((System.Windows.Controls.Label)(target)); return; case 15: this.tsbSoftTrrigger = ((ControlLib.MTSwitchButton)(target)); #line 100 "..\..\..\SetCamera\WinSetCamera.xaml" this.tsbSoftTrrigger.Checked += new System.Windows.RoutedEventHandler(this.tsbSoftTrrigger_Checked); #line default #line hidden #line 100 "..\..\..\SetCamera\WinSetCamera.xaml" this.tsbSoftTrrigger.Unchecked += new System.Windows.RoutedEventHandler(this.tsbSoftTrrigger_Unchecked); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 11 "..\..\..\..\SetCamera\WinSetCamera.xaml" ((Camera.WinSetCamera)(target)).Loaded += new System.Windows.RoutedEventHandler(this.BaseMetroWindow_Loaded); #line default #line hidden #line 11 "..\..\..\..\SetCamera\WinSetCamera.xaml" ((Camera.WinSetCamera)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.BaseMetroWindow_Closing); #line default #line hidden return; case 2: this.setCamera1 = ((Camera.SetCamera)(target)); return; case 3: this.setCamera2 = ((Camera.SetCamera)(target)); return; case 4: this.setCamera3 = ((Camera.SetCamera)(target)); return; case 5: this.setCamera4 = ((Camera.SetCamera)(target)); return; case 6: this.setCamera5 = ((Camera.SetCamera)(target)); return; case 7: this.setCamera6 = ((Camera.SetCamera)(target)); return; case 8: this.setCamera7 = ((Camera.SetCamera)(target)); return; case 9: this.setCamera8 = ((Camera.SetCamera)(target)); return; case 10: this.dudNumCamera = ((ControlLib.DoubleUpDown)(target)); #line 84 "..\..\..\..\SetCamera\WinSetCamera.xaml" this.dudNumCamera.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.dudNumCamera_ValueChanged); #line default #line hidden return; case 11: this.btnClose = ((ControlLib.ButtonColor)(target)); #line 86 "..\..\..\..\SetCamera\WinSetCamera.xaml" this.btnClose.Click += new System.Windows.RoutedEventHandler(this.btnClose_Click); #line default #line hidden return; } this._contentLoaded = true; }