void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.beforeButton = ((System.Windows.Controls.Button)(target)); #line 26 "..\..\MainWindow.xaml" this.beforeButton.Click += new System.Windows.RoutedEventHandler(this.beforeButton_Click); #line default #line hidden return; case 2: this.beforePathLabel = ((System.Windows.Controls.Label)(target)); return; case 3: this.afterButton = ((System.Windows.Controls.Button)(target)); #line 28 "..\..\MainWindow.xaml" this.afterButton.Click += new System.Windows.RoutedEventHandler(this.afterButton_Click); #line default #line hidden return; case 4: this.afterPathLabel = ((System.Windows.Controls.Label)(target)); return; case 5: this.model1 = ((devDept.Eyeshot.Model)(target)); #line 32 "..\..\MainWindow.xaml" this.model1.CameraMoveEnd += new devDept.Eyeshot.Environment.CameraMoveEventHandler(this.camera1_MoveEnd); #line default #line hidden return; case 6: this.model2 = ((devDept.Eyeshot.Model)(target)); #line 71 "..\..\MainWindow.xaml" this.model2.CameraMoveEnd += new devDept.Eyeshot.Environment.CameraMoveEventHandler(this.camera2_MoveEnd); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.groupBox1 = ((System.Windows.Controls.GroupBox)(target)); return; case 2: this.addItemCombo = ((System.Windows.Controls.ComboBox)(target)); return; case 3: this.addItemToggle = ((System.Windows.Controls.Primitives.ToggleButton)(target)); return; case 4: this.planeCombo = ((System.Windows.Controls.ComboBox)(target)); #line 42 "..\..\MainWindow.xaml" this.planeCombo.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.planeCombo_SelectedIndexChanged); #line default #line hidden return; case 5: this.moveToggle = ((System.Windows.Controls.Primitives.ToggleButton)(target)); #line 47 "..\..\MainWindow.xaml" this.moveToggle.Click += new System.Windows.RoutedEventHandler(this.moveCheckBox_CheckedChanged); #line default #line hidden return; case 6: this.treeView1 = ((System.Windows.Controls.TreeView)(target)); #line 53 "..\..\MainWindow.xaml" this.treeView1.SelectedItemChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.treeView1_SelectedChanged); #line default #line hidden return; case 7: this.blinkToggle = ((System.Windows.Controls.Primitives.ToggleButton)(target)); #line 69 "..\..\MainWindow.xaml" this.blinkToggle.Click += new System.Windows.RoutedEventHandler(this.blinkToggle_CheckedChanged); #line default #line hidden return; case 8: this.bboxCheckBox = ((System.Windows.Controls.CheckBox)(target)); return; case 9: this.listView1 = ((System.Windows.Controls.ListView)(target)); #line 78 "..\..\MainWindow.xaml" this.listView1.DragEnter += new System.Windows.DragEventHandler(this.listView1_DragEnter); #line default #line hidden #line 78 "..\..\MainWindow.xaml" this.listView1.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listView1_SelectedChanged); #line default #line hidden #line 78 "..\..\MainWindow.xaml" this.listView1.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.ListView_OnMouseUp); #line default #line hidden return; case 10: this.model1 = ((devDept.Eyeshot.Model)(target)); #line 111 "..\..\MainWindow.xaml" this.model1.DragEnter += new System.Windows.DragEventHandler(this.viewport_dragEnter); #line default #line hidden #line 111 "..\..\MainWindow.xaml" this.model1.Drop += new System.Windows.DragEventHandler(this.viewport_dragDrop); #line default #line hidden #line 111 "..\..\MainWindow.xaml" this.model1.PreviewMouseUp += new System.Windows.Input.MouseButtonEventHandler(this.model1_MouseUp); #line default #line hidden #line 111 "..\..\MainWindow.xaml" this.model1.MouseMove += new System.Windows.Input.MouseEventHandler(this.model1_MouseMove); #line default #line hidden #line 111 "..\..\MainWindow.xaml" this.model1.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.model1_MouseDown); #line default #line hidden #line 111 "..\..\MainWindow.xaml" this.model1.DragLeave += new System.Windows.DragEventHandler(this.viewport_dragLeave); #line default #line hidden #line 111 "..\..\MainWindow.xaml" this.model1.DragOver += new System.Windows.DragEventHandler(this.viewport_dragOver); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.openButton = ((System.Windows.Controls.Button)(target)); #line 24 "..\..\MainWindow.xaml" this.openButton.Click += new System.Windows.RoutedEventHandler(this.openButton_Click); #line default #line hidden return; case 2: this.saveButton = ((System.Windows.Controls.Button)(target)); #line 25 "..\..\MainWindow.xaml" this.saveButton.Click += new System.Windows.RoutedEventHandler(this.saveButton_Click); #line default #line hidden return; case 3: this.asyncCheckBox = ((System.Windows.Controls.CheckBox)(target)); return; case 4: this.selectChk = ((System.Windows.Controls.Primitives.ToggleButton)(target)); #line 28 "..\..\MainWindow.xaml" this.selectChk.Checked += new System.Windows.RoutedEventHandler(this.selectChk_CheckedChanged); #line default #line hidden return; case 5: #line 30 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.dumpButton_Click); #line default #line hidden return; case 6: #line 31 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.statsButton_Click); #line default #line hidden return; case 7: this.regenAsyncChk = ((System.Windows.Controls.Primitives.ToggleButton)(target)); return; case 8: this.model1 = ((devDept.Eyeshot.Model)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.openButton = ((System.Windows.Controls.Button)(target)); #line 36 "..\..\MainWindow.xaml" this.openButton.Click += new System.Windows.RoutedEventHandler(this.OpenButton_Click); #line default #line hidden return; case 2: this.saveButton = ((System.Windows.Controls.Button)(target)); #line 37 "..\..\MainWindow.xaml" this.saveButton.Click += new System.Windows.RoutedEventHandler(this.SaveButton_Click); #line default #line hidden return; case 3: this.importButton = ((System.Windows.Controls.Button)(target)); #line 38 "..\..\MainWindow.xaml" this.importButton.Click += new System.Windows.RoutedEventHandler(this.ImportButton_Click); #line default #line hidden return; case 4: this.exportButton = ((System.Windows.Controls.Button)(target)); #line 39 "..\..\MainWindow.xaml" this.exportButton.Click += new System.Windows.RoutedEventHandler(this.ExportButton_Click); #line default #line hidden return; case 5: this.explodeViewsCheckBox = ((System.Windows.Controls.CheckBox)(target)); return; case 6: this.explodeViewsLabel = ((System.Windows.Controls.Label)(target)); return; case 7: this.progressBar = ((System.Windows.Controls.ProgressBar)(target)); return; case 8: this.comboBoxFormat = ((System.Windows.Controls.ComboBox)(target)); #line 52 "..\..\MainWindow.xaml" this.comboBoxFormat.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBoxFormat_OnSelectionChanged); #line default #line hidden return; case 9: this.comboBoxWidth = ((System.Windows.Controls.ComboBox)(target)); #line 63 "..\..\MainWindow.xaml" this.comboBoxWidth.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBoxDim_OnSelectionChanged); #line default #line hidden return; case 10: this.comboBoxDepth = ((System.Windows.Controls.ComboBox)(target)); #line 72 "..\..\MainWindow.xaml" this.comboBoxDepth.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBoxDim_OnSelectionChanged); #line default #line hidden return; case 11: this.comboBoxHeigth = ((System.Windows.Controls.ComboBox)(target)); #line 81 "..\..\MainWindow.xaml" this.comboBoxHeigth.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBoxDim_OnSelectionChanged); #line default #line hidden return; case 12: this.comboBoxVeneer = ((System.Windows.Controls.ComboBox)(target)); #line 94 "..\..\MainWindow.xaml" this.comboBoxVeneer.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBoxVeneer_OnSelectionChanged); #line default #line hidden return; case 13: this.greenColorRadioButton = ((System.Windows.Controls.RadioButton)(target)); #line 107 "..\..\MainWindow.xaml" this.greenColorRadioButton.Click += new System.Windows.RoutedEventHandler(this.PaintColorClick); #line default #line hidden return; case 14: this.orangeColorRadioButton = ((System.Windows.Controls.RadioButton)(target)); #line 108 "..\..\MainWindow.xaml" this.orangeColorRadioButton.Click += new System.Windows.RoutedEventHandler(this.PaintColorClick); #line default #line hidden return; case 15: this.blueColorRadioButton = ((System.Windows.Controls.RadioButton)(target)); #line 109 "..\..\MainWindow.xaml" this.blueColorRadioButton.Click += new System.Windows.RoutedEventHandler(this.PaintColorClick); #line default #line hidden return; case 16: this.pinkColorRadioButton = ((System.Windows.Controls.RadioButton)(target)); #line 110 "..\..\MainWindow.xaml" this.pinkColorRadioButton.Click += new System.Windows.RoutedEventHandler(this.PaintColorClick); #line default #line hidden return; case 17: this.blackColorRadioButton = ((System.Windows.Controls.RadioButton)(target)); #line 117 "..\..\MainWindow.xaml" this.blackColorRadioButton.Click += new System.Windows.RoutedEventHandler(this.PaintColorFootsClick); #line default #line hidden return; case 18: this.whiteColorRadioButton = ((System.Windows.Controls.RadioButton)(target)); #line 118 "..\..\MainWindow.xaml" this.whiteColorRadioButton.Click += new System.Windows.RoutedEventHandler(this.PaintColorFootsClick); #line default #line hidden return; case 19: this.steelTextBox = ((System.Windows.Controls.TextBox)(target)); return; case 20: this.woodTextBox = ((System.Windows.Controls.TextBox)(target)); return; case 21: this.plasticTextBox = ((System.Windows.Controls.TextBox)(target)); return; case 22: this.totalTextBox = ((System.Windows.Controls.TextBox)(target)); return; case 23: this.comboBoxActiveObject = ((System.Windows.Controls.ComboBox)(target)); #line 149 "..\..\MainWindow.xaml" this.comboBoxActiveObject.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBoxActiveObject_OnSelectionChanged); #line default #line hidden return; case 24: this.tabControl1 = ((System.Windows.Controls.TabControl)(target)); return; case 25: this.tabItemModel = ((System.Windows.Controls.TabItem)(target)); return; case 26: this.model1 = ((devDept.Eyeshot.Model)(target)); return; case 27: this.tabItemDrawings = ((System.Windows.Controls.TabItem)(target)); return; case 28: this.drawingsUserControl1 = ((WpfApplication1.DrawingsUserControl)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.model1 = ((devDept.Eyeshot.Model)(target)); #line 13 "..\..\MainWindow.xaml" this.model1.WorkCompleted += new devDept.Eyeshot.Environment.WorkCompletedEventHandler(this.Model1OnWorkCompleted); #line default #line hidden return; case 2: this.label1 = ((System.Windows.Controls.Label)(target)); return; case 3: this.label2 = ((System.Windows.Controls.Label)(target)); return; case 4: this.rotate1 = ((System.Windows.Controls.RadioButton)(target)); #line 70 "..\..\MainWindow.xaml" this.rotate1.Click += new System.Windows.RoutedEventHandler(this.SelectPartToRotate); #line default #line hidden return; case 5: this.rotate2 = ((System.Windows.Controls.RadioButton)(target)); #line 71 "..\..\MainWindow.xaml" this.rotate2.Click += new System.Windows.RoutedEventHandler(this.SelectPartToRotate); #line default #line hidden return; case 6: this.rotate3 = ((System.Windows.Controls.RadioButton)(target)); #line 72 "..\..\MainWindow.xaml" this.rotate3.Click += new System.Windows.RoutedEventHandler(this.SelectPartToRotate); #line default #line hidden return; case 7: this.rotate4 = ((System.Windows.Controls.RadioButton)(target)); #line 73 "..\..\MainWindow.xaml" this.rotate4.Click += new System.Windows.RoutedEventHandler(this.SelectPartToRotate); #line default #line hidden return; case 8: this.rotate5 = ((System.Windows.Controls.RadioButton)(target)); #line 74 "..\..\MainWindow.xaml" this.rotate5.Click += new System.Windows.RoutedEventHandler(this.SelectPartToRotate); #line default #line hidden return; case 9: this.rotate6 = ((System.Windows.Controls.RadioButton)(target)); #line 75 "..\..\MainWindow.xaml" this.rotate6.Click += new System.Windows.RoutedEventHandler(this.SelectPartToRotate); #line default #line hidden return; case 10: this.angleText = ((System.Windows.Controls.TextBox)(target)); #line 76 "..\..\MainWindow.xaml" this.angleText.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.angleText_TextChanged); #line default #line hidden return; case 11: this.collisionButton = ((System.Windows.Controls.Primitives.ToggleButton)(target)); #line 78 "..\..\MainWindow.xaml" this.collisionButton.Click += new System.Windows.RoutedEventHandler(this.collisionButton_Click); #line default #line hidden return; case 12: this.firstCheckBox = ((System.Windows.Controls.CheckBox)(target)); #line 80 "..\..\MainWindow.xaml" this.firstCheckBox.Click += new System.Windows.RoutedEventHandler(this.firstCheckBox_CheckedChanged); #line default #line hidden return; case 13: this.intersectLabel = ((System.Windows.Controls.Label)(target)); return; case 14: this.timeLabel = ((System.Windows.Controls.Label)(target)); return; case 15: this.numLabel = ((System.Windows.Controls.Label)(target)); return; case 16: this.collisionMethodCombo = ((System.Windows.Controls.ComboBox)(target)); #line 86 "..\..\MainWindow.xaml" this.collisionMethodCombo.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CollisionMethodCombo_OnSelectionChanged); #line default #line hidden return; case 17: this.rotateSlider = ((System.Windows.Controls.Slider)(target)); #line 92 "..\..\MainWindow.xaml" this.rotateSlider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.Slider_ValueChanged); #line default #line hidden #line 92 "..\..\MainWindow.xaml" this.rotateSlider.AddHandler(System.Windows.Controls.Primitives.Thumb.DragCompletedEvent, new System.Windows.Controls.Primitives.DragCompletedEventHandler(this.Slider_DragCompleted)); #line default #line hidden return; case 18: this.movePosButton = ((System.Windows.Controls.Button)(target)); #line 93 "..\..\MainWindow.xaml" this.movePosButton.Click += new System.Windows.RoutedEventHandler(this.movePosButton_Click); #line default #line hidden return; case 19: this.moveNegButton = ((System.Windows.Controls.Button)(target)); #line 94 "..\..\MainWindow.xaml" this.moveNegButton.Click += new System.Windows.RoutedEventHandler(this.moveNegButton_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.DemoItemsListBox = ((System.Windows.Controls.ListBox)(target)); #line 39 "..\..\MainWindow.xaml" this.DemoItemsListBox.PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.UIElement_OnPreviewMouseLeftButtonUp); #line default #line hidden return; case 2: this.MenuToggleButton = ((System.Windows.Controls.Primitives.ToggleButton)(target)); return; case 3: #line 60 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuPopupButton_OnClick); #line default #line hidden return; case 4: #line 61 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuPopupButton_OnClick); #line default #line hidden return; case 5: #line 64 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuPopupButton_OnClick); #line default #line hidden return; case 6: this.model1 = ((devDept.Eyeshot.Model)(target)); return; case 7: this.btnImport = ((System.Windows.Controls.Button)(target)); #line 143 "..\..\MainWindow.xaml" this.btnImport.Click += new System.Windows.RoutedEventHandler(this.btnImport_Click); #line default #line hidden return; case 8: this.btnExport = ((System.Windows.Controls.Button)(target)); #line 151 "..\..\MainWindow.xaml" this.btnExport.Click += new System.Windows.RoutedEventHandler(this.btnExport_Click); #line default #line hidden return; case 9: this.MainSnackbar = ((MaterialDesignThemes.Wpf.Snackbar)(target)); return; } this._contentLoaded = true; }