void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Grid = ((System.Windows.Controls.Grid)(target)); return; case 2: this.MapCanvas = ((System.Windows.Controls.Canvas)(target)); return; case 3: this.MapCanvasScaleTransform = ((System.Windows.Media.ScaleTransform)(target)); return; case 4: this.GridCanvas = ((Imagio.GUI.Controls.GridCanvas)(target)); return; case 5: this.GridCanvasScaleTransform = ((System.Windows.Media.ScaleTransform)(target)); return; case 6: this.txtDistance = ((System.Windows.Controls.TextBlock)(target)); return; case 7: this.txtDegrees = ((System.Windows.Controls.TextBlock)(target)); return; case 8: this.txtStatus = ((System.Windows.Controls.TextBlock)(target)); return; case 9: this.prog = ((System.Windows.Controls.ProgressBar)(target)); return; case 10: this.btnSmartFilter = ((System.Windows.Controls.Button)(target)); #line 63 "..\..\..\GUI\CaptureWindow - Copy.xaml" this.btnSmartFilter.Click += new System.Windows.RoutedEventHandler(this.btnSmartFilter_Click); #line default #line hidden return; case 11: this.GrdStartup = ((System.Windows.Controls.Grid)(target)); return; case 12: this.textBlock = ((System.Windows.Controls.TextBlock)(target)); return; case 13: this.Status = ((System.Windows.Controls.TextBlock)(target)); return; case 14: this.btnAccept = ((System.Windows.Controls.Button)(target)); #line 75 "..\..\..\GUI\CaptureWindow - Copy.xaml" this.btnAccept.Click += new System.Windows.RoutedEventHandler(this.btnAccept_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.menu = ((System.Windows.Controls.Menu)(target)); return; case 2: #line 21 "..\..\..\GUI\Designer - Copy.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Open); #line default #line hidden return; case 3: #line 22 "..\..\..\GUI\Designer - Copy.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Save); #line default #line hidden return; case 4: #line 23 "..\..\..\GUI\Designer - Copy.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_OnClick); #line default #line hidden return; case 5: this.gridSplitter = ((System.Windows.Controls.GridSplitter)(target)); return; case 6: this.PanningCanvas = ((Imagio.GUI.Controls.PanningCanvas)(target)); return; case 7: this.MapCanvas = ((System.Windows.Controls.Canvas)(target)); return; case 8: this.MapCanvasScaleTransform = ((System.Windows.Media.ScaleTransform)(target)); return; case 9: this.GridCanvas = ((Imagio.GUI.Controls.GridCanvas)(target)); return; case 10: this.GridCanvasScaleTransform = ((System.Windows.Media.ScaleTransform)(target)); return; case 11: this.SelectedImageControls = ((System.Windows.Controls.StackPanel)(target)); return; case 12: this.selectedImage = ((System.Windows.Controls.Image)(target)); return; case 13: this.SelectedLayerX = ((System.Windows.Controls.TextBlock)(target)); return; case 14: this.SelectedLayerY = ((System.Windows.Controls.TextBlock)(target)); return; case 15: this.SelectedLayerWidth = ((System.Windows.Controls.TextBlock)(target)); return; case 16: this.SelectedLayerHeight = ((System.Windows.Controls.TextBlock)(target)); return; case 17: this.SelectedImageStretch = ((System.Windows.Controls.ComboBox)(target)); return; case 18: this.TxtMapWidth = ((System.Windows.Controls.TextBox)(target)); return; case 19: this.TxtMapHeight = ((System.Windows.Controls.TextBox)(target)); return; case 20: this.TxtMapZoom = ((System.Windows.Controls.TextBox)(target)); return; case 21: this.btnSendBack = ((System.Windows.Controls.Button)(target)); #line 114 "..\..\..\GUI\Designer - Copy.xaml" this.btnSendBack.Click += new System.Windows.RoutedEventHandler(this.btnSendBack_Click); #line default #line hidden return; case 22: this.btnSendBack_Copy = ((System.Windows.Controls.Button)(target)); #line 115 "..\..\..\GUI\Designer - Copy.xaml" this.btnSendBack_Copy.Click += new System.Windows.RoutedEventHandler(this.BtnEllipseDraw_OnClick); #line default #line hidden return; case 23: this.txtRatio = ((System.Windows.Controls.TextBlock)(target)); return; case 24: this.txtCursor = ((System.Windows.Controls.TextBlock)(target)); return; case 25: this.txtCursorMeters = ((System.Windows.Controls.TextBlock)(target)); return; case 26: this.textBlock = ((System.Windows.Controls.TextBlock)(target)); return; case 27: this.btnPolygonDraw = ((System.Windows.Controls.Button)(target)); #line 140 "..\..\..\GUI\Designer - Copy.xaml" this.btnPolygonDraw.Click += new System.Windows.RoutedEventHandler(this.btnPolygonDraw_Click); #line default #line hidden return; case 28: this.btnRectDraw = ((System.Windows.Controls.Button)(target)); #line 142 "..\..\..\GUI\Designer - Copy.xaml" this.btnRectDraw.Click += new System.Windows.RoutedEventHandler(this.BtnRectDraw_OnClick); #line default #line hidden return; case 29: this.btnEllipseDraw = ((System.Windows.Controls.Button)(target)); #line 143 "..\..\..\GUI\Designer - Copy.xaml" this.btnEllipseDraw.Click += new System.Windows.RoutedEventHandler(this.BtnEllipseDraw_OnClick); #line default #line hidden return; case 30: this.btnImportImage = ((System.Windows.Controls.Button)(target)); #line 145 "..\..\..\GUI\Designer - Copy.xaml" this.btnImportImage.PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.btnImportImage_PreviewMouseLeftButtonUp); #line default #line hidden #line 145 "..\..\..\GUI\Designer - Copy.xaml" this.btnImportImage.Click += new System.Windows.RoutedEventHandler(this.btnImportImage_Click); #line default #line hidden return; case 31: this.btnAddObject = ((System.Windows.Controls.Button)(target)); #line 147 "..\..\..\GUI\Designer - Copy.xaml" this.btnAddObject.Click += new System.Windows.RoutedEventHandler(this.btnAddObject_Click); #line default #line hidden return; case 32: this.foregroundColorPanel = ((System.Windows.Controls.Border)(target)); #line 151 "..\..\..\GUI\Designer - Copy.xaml" this.foregroundColorPanel.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.foregroundColorPanel_MouseLeftButtonUp); #line default #line hidden return; case 33: this.backgroundColorPanel = ((System.Windows.Controls.Border)(target)); #line 154 "..\..\..\GUI\Designer - Copy.xaml" this.backgroundColorPanel.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.backgroundColorPanel_MouseLeftButtonUp); #line default #line hidden return; case 34: this.textBlock_Copy1 = ((System.Windows.Controls.TextBlock)(target)); return; case 35: this.textBlock1 = ((System.Windows.Controls.TextBlock)(target)); return; case 36: this.MapToggle = ((MahApps.Metro.Controls.ToggleSwitchButton)(target)); #line 167 "..\..\..\GUI\Designer - Copy.xaml" this.MapToggle.Checked += new System.Windows.RoutedEventHandler(this.MapToggle_Checked); #line default #line hidden #line 167 "..\..\..\GUI\Designer - Copy.xaml" this.MapToggle.Unchecked += new System.Windows.RoutedEventHandler(this.MapToggle_Unchecked); #line default #line hidden return; case 37: this.textBlock_Copy = ((System.Windows.Controls.TextBlock)(target)); return; case 38: this.btnCapture = ((System.Windows.Controls.Button)(target)); #line 173 "..\..\..\GUI\Designer - Copy.xaml" this.btnCapture.Click += new System.Windows.RoutedEventHandler(this.btnCapture_Click_1); #line default #line hidden return; case 39: this.btnCapture_Copy = ((System.Windows.Controls.Button)(target)); #line 175 "..\..\..\GUI\Designer - Copy.xaml" this.btnCapture_Copy.Click += new System.Windows.RoutedEventHandler(this.btnAddObject_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Grid = ((System.Windows.Controls.Grid)(target)); return; case 2: this.GridCanvas = ((Imagio.GUI.Controls.GridCanvas)(target)); return; case 3: this.GridCanvasScaleTransform = ((System.Windows.Media.ScaleTransform)(target)); return; case 4: this.txtDistance = ((System.Windows.Controls.TextBlock)(target)); return; case 5: this.textBlock1_Copy = ((System.Windows.Controls.TextBlock)(target)); return; case 6: this.btnLeft = ((System.Windows.Controls.Button)(target)); return; case 7: this.textBlock2 = ((System.Windows.Controls.TextBlock)(target)); return; case 8: this.btnRight = ((System.Windows.Controls.Button)(target)); return; case 9: this.buttonbtnMeasure = ((System.Windows.Controls.Button)(target)); #line 42 "..\..\..\GUI\MeasureWindow.xaml" this.buttonbtnMeasure.Click += new System.Windows.RoutedEventHandler(this.buttonbtnMeasure_Click); #line default #line hidden return; case 10: this.textBlock3 = ((System.Windows.Controls.TextBlock)(target)); return; case 11: this.LaserToggle = ((MahApps.Metro.Controls.ToggleSwitchButton)(target)); #line 50 "..\..\..\GUI\MeasureWindow.xaml" this.LaserToggle.Unchecked += new System.Windows.RoutedEventHandler(this.LaserToggle_Unchecked); #line default #line hidden #line 50 "..\..\..\GUI\MeasureWindow.xaml" this.LaserToggle.Checked += new System.Windows.RoutedEventHandler(this.LaserToggle_Checked); #line default #line hidden return; case 12: this.txtStatus = ((System.Windows.Controls.TextBlock)(target)); return; case 13: this.GrdStartup = ((System.Windows.Controls.Grid)(target)); return; case 14: this.textBlock = ((System.Windows.Controls.TextBlock)(target)); return; case 15: this.Status = ((System.Windows.Controls.TextBlock)(target)); return; case 16: this.textBox = ((System.Windows.Controls.TextBox)(target)); return; } this._contentLoaded = true; }