void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.hWindowControl1 = ((HalconDotNet.HWindowControlWPF)(target)); #line 20 "..\..\MainWindow.xaml" this.hWindowControl1.HMouseMove += new HalconDotNet.HMouseEventHandlerWPF(this.HMouseMove); #line default #line hidden #line 20 "..\..\MainWindow.xaml" this.hWindowControl1.HMouseWheel += new HalconDotNet.HMouseEventHandlerWPF(this.HMouseWheel); #line default #line hidden #line 20 "..\..\MainWindow.xaml" this.hWindowControl1.HMouseUp += new HalconDotNet.HMouseEventHandlerWPF(this.HMouseUp); #line default #line hidden #line 20 "..\..\MainWindow.xaml" this.hWindowControl1.HMouseDown += new HalconDotNet.HMouseEventHandlerWPF(this.HMouseDown); #line default #line hidden return; case 2: #line 23 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnClickLoadPic); #line default #line hidden return; case 3: #line 24 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnClickFull); #line default #line hidden return; case 4: this.txbGray = ((System.Windows.Controls.TextBlock)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 11 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; case 2: this.hWindowControl1 = ((HalconDotNet.HWindowControlWPF)(target)); return; case 3: this.txbGray = ((System.Windows.Controls.TextBlock)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.baseUCDisplay = ((Camera.BaseUCDisplayCamera)(target)); return; case 2: this.gpbCamera = ((ControlLib.NGroupBox)(target)); #line 36 "..\..\..\..\UICamera\Base\BaseUCDisplayCamera.xaml" this.gpbCamera.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.gpbCamera_MouseDoubleClick); #line default #line hidden return; case 3: this.dpImage = ((System.Windows.Controls.DockPanel)(target)); return; case 4: this.svImage = ((System.Windows.Controls.ScrollViewer)(target)); return; case 5: this.ccImage = ((System.Windows.Controls.ContentControl)(target)); return; case 6: this.imDisplay = ((System.Windows.Controls.Image)(target)); return; case 7: this.cvDraw = ((System.Windows.Controls.Canvas)(target)); #line 44 "..\..\..\..\UICamera\Base\BaseUCDisplayCamera.xaml" this.cvDraw.MouseMove += new System.Windows.Input.MouseEventHandler(this.cvDraw_MouseMove); #line default #line hidden return; case 8: this.hWDispImage = ((HalconDotNet.HWindowControlWPF)(target)); return; case 9: this.ppShowResult = ((System.Windows.Controls.Primitives.Popup)(target)); return; case 10: this.txtInfo = ((System.Windows.Controls.TextBox)(target)); return; case 11: this.dpBtn = ((System.Windows.Controls.DockPanel)(target)); return; case 12: this.lblTactTime = ((ControlLib.NLabel)(target)); return; case 13: this.lblRealImage = ((ControlLib.NLabel)(target)); #line 62 "..\..\..\..\UICamera\Base\BaseUCDisplayCamera.xaml" this.lblRealImage.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.lblRealImage_MouseLeftButtonDown); #line default #line hidden return; case 14: this.lblSaveImage = ((ControlLib.NLabel)(target)); #line 64 "..\..\..\..\UICamera\Base\BaseUCDisplayCamera.xaml" this.lblSaveImage.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.lblSaveImage_MouseLeftButtonDown); #line default #line hidden return; case 15: this.lblLocalImage = ((ControlLib.NLabel)(target)); #line 65 "..\..\..\..\UICamera\Base\BaseUCDisplayCamera.xaml" this.lblLocalImage.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.lblLocalImage_MouseLeftButtonDown); #line default #line hidden return; case 16: this.lblNext = ((ControlLib.NLabel)(target)); #line 67 "..\..\..\..\UICamera\Base\BaseUCDisplayCamera.xaml" this.lblNext.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.lblNext_MouseLeftButtonDown); #line default #line hidden return; case 17: this.lblPre = ((ControlLib.NLabel)(target)); #line 70 "..\..\..\..\UICamera\Base\BaseUCDisplayCamera.xaml" this.lblPre.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.lblPre_MouseLeftButtonDown); #line default #line hidden return; case 18: this.lblPosGray = ((ControlLib.NLabel)(target)); return; case 19: this.lblPop = ((ControlLib.NLabel)(target)); return; } this._contentLoaded = true; }