void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.NgScanApp = ((NgScanApp.MainWindow)(target)); return; case 2: this.GridR = ((System.Windows.Controls.Grid)(target)); return; case 3: this.SettingsBtn = ((System.Windows.Controls.Button)(target)); #line 36 "..\..\MainWindow.xaml" this.SettingsBtn.Click += new System.Windows.RoutedEventHandler(this.onSettingsCliked); #line default #line hidden return; case 4: this.ScanBtn = ((System.Windows.Controls.Button)(target)); #line 40 "..\..\MainWindow.xaml" this.ScanBtn.Click += new System.Windows.RoutedEventHandler(this.ScanBtnClicked); #line default #line hidden return; case 5: this.DeviceCmb = ((System.Windows.Controls.ComboBox)(target)); return; case 6: this.DeviceIdCmb = ((System.Windows.Controls.ComboBox)(target)); return; case 7: this.GridL = ((System.Windows.Controls.Grid)(target)); return; case 8: this.ScanView = ((System.Windows.Controls.Image)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.NgScanApp = ((NgScanApp.MainWindow)(target)); #line 8 "..\..\..\MainWindow.xaml" this.NgScanApp.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); #line default #line hidden return; case 2: this.GridR = ((System.Windows.Controls.Grid)(target)); return; case 3: this.ScanBtn = ((System.Windows.Controls.Button)(target)); #line 15 "..\..\..\MainWindow.xaml" this.ScanBtn.Click += new System.Windows.RoutedEventHandler(this.ScanBtnClicked); #line default #line hidden return; case 4: this.DeviceCmb = ((System.Windows.Controls.ComboBox)(target)); return; case 5: this.DeviceIdCmb = ((System.Windows.Controls.ComboBox)(target)); return; case 6: this.ReadyCropBtn = ((System.Windows.Controls.Button)(target)); return; case 7: this.CropCbx = ((System.Windows.Controls.CheckBox)(target)); #line 24 "..\..\..\MainWindow.xaml" this.CropCbx.Checked += new System.Windows.RoutedEventHandler(this.CropCbxChecked); #line default #line hidden return; case 8: this.previewBtn = ((System.Windows.Controls.Button)(target)); #line 26 "..\..\..\MainWindow.xaml" this.previewBtn.Click += new System.Windows.RoutedEventHandler(this.previewBtnClicked); #line default #line hidden return; case 9: this.savePathTxt = ((System.Windows.Controls.TextBox)(target)); #line 32 "..\..\..\MainWindow.xaml" this.savePathTxt.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.SaveTextChanged); #line default #line hidden return; case 10: this.browseBtn = ((System.Windows.Controls.Button)(target)); #line 33 "..\..\..\MainWindow.xaml" this.browseBtn.Click += new System.Windows.RoutedEventHandler(this.saveBtn_Click); #line default #line hidden return; case 11: this.widthTxt = ((System.Windows.Controls.TextBox)(target)); return; case 12: this.widthLbn = ((System.Windows.Controls.Label)(target)); return; case 13: this.heightLbn = ((System.Windows.Controls.Label)(target)); return; case 14: this.heightTxt = ((System.Windows.Controls.TextBox)(target)); return; case 15: this.cropxTxt = ((System.Windows.Controls.TextBox)(target)); return; case 16: this.cropyTxt = ((System.Windows.Controls.TextBox)(target)); return; case 17: this.dpiLbn = ((System.Windows.Controls.Label)(target)); return; case 18: this.dpiTxt = ((System.Windows.Controls.TextBox)(target)); return; case 19: this.label = ((System.Windows.Controls.Label)(target)); return; case 20: this.groupBox = ((System.Windows.Controls.GroupBox)(target)); return; case 21: this.rotL = ((System.Windows.Controls.Button)(target)); #line 56 "..\..\..\MainWindow.xaml" this.rotL.Click += new System.Windows.RoutedEventHandler(this.rotL_Click); #line default #line hidden return; case 22: this.rotR = ((System.Windows.Controls.Button)(target)); #line 59 "..\..\..\MainWindow.xaml" this.rotR.Click += new System.Windows.RoutedEventHandler(this.rotR_Click); #line default #line hidden return; case 23: this.posLbn = ((System.Windows.Controls.Label)(target)); return; case 24: this.tifTypeCBX = ((System.Windows.Controls.ComboBox)(target)); return; case 25: this.applyBtn = ((System.Windows.Controls.Button)(target)); #line 73 "..\..\..\MainWindow.xaml" this.applyBtn.Click += new System.Windows.RoutedEventHandler(this.applyBtn_Click); #line default #line hidden return; case 26: this.settingsBtn = ((System.Windows.Controls.Button)(target)); #line 74 "..\..\..\MainWindow.xaml" this.settingsBtn.Click += new System.Windows.RoutedEventHandler(this.settingsBtn_Click); #line default #line hidden return; case 27: this.refreshBtn = ((System.Windows.Controls.Button)(target)); #line 79 "..\..\..\MainWindow.xaml" this.refreshBtn.Click += new System.Windows.RoutedEventHandler(this.RefreshBtnClicked); #line default #line hidden return; case 28: this.GridL = ((System.Windows.Controls.Grid)(target)); return; case 29: this.CanvasL = ((System.Windows.Controls.Canvas)(target)); return; case 30: this.ScanView = ((System.Windows.Controls.Image)(target)); return; case 31: this.PvCanvas = ((System.Windows.Controls.Canvas)(target)); #line 90 "..\..\..\MainWindow.xaml" this.PvCanvas.MouseMove += new System.Windows.Input.MouseEventHandler(this.CanvasMouseMove); #line default #line hidden return; case 32: this.PreView = ((System.Windows.Controls.Image)(target)); return; case 33: this.selRect = ((System.Windows.Shapes.Rectangle)(target)); #line 93 "..\..\..\MainWindow.xaml" this.selRect.SizeChanged += new System.Windows.SizeChangedEventHandler(this.RectSizeChange); #line default #line hidden return; case 34: this.label1 = ((System.Windows.Controls.Label)(target)); return; } this._contentLoaded = true; }