void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.UserControlScaleXY = ((System.Windows.Media.ScaleTransform)(target)); return; case 2: this.UserControlXY = ((System.Windows.Media.TranslateTransform)(target)); return; case 3: this.controlBorder = ((System.Windows.Controls.Border)(target)); return; case 4: this.Grid0 = ((System.Windows.Controls.Grid)(target)); return; case 5: this.Grid1 = ((System.Windows.Controls.Grid)(target)); return; case 6: this.spGates = ((GatesWpf.GateSelector)(target)); return; case 7: this.gateCanvas = ((GatesWpf.GateCanvas)(target)); return; case 8: this.spZoom = ((System.Windows.Controls.StackPanel)(target)); return; case 9: this.slZoom = ((System.Windows.Controls.Slider)(target)); #line 59 "..\..\DiagramRepresentation.xaml" this.slZoom.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.slZoom_ValueChanged); #line default #line hidden return; case 10: this.btnActualSize = ((System.Windows.Controls.Button)(target)); #line 62 "..\..\DiagramRepresentation.xaml" this.btnActualSize.Click += new System.Windows.RoutedEventHandler(this.btnActualSize_Click); #line default #line hidden return; case 11: this.btnFitToScreen = ((System.Windows.Controls.Button)(target)); #line 65 "..\..\DiagramRepresentation.xaml" this.btnFitToScreen.Click += new System.Windows.RoutedEventHandler(this.btnFitToScreen_Click); #line default #line hidden return; case 12: this.spSpeed = ((System.Windows.Controls.StackPanel)(target)); return; case 13: this.slSpeed = ((System.Windows.Controls.Slider)(target)); return; case 14: this.myToolbarTray = ((System.Windows.Controls.ToolBarTray)(target)); return; case 15: this.tbFile = ((System.Windows.Controls.ToolBar)(target)); return; case 16: this.btnSave = ((System.Windows.Controls.Button)(target)); return; case 17: this.tbEdit = ((System.Windows.Controls.ToolBar)(target)); return; case 18: this.btnCut = ((System.Windows.Controls.Button)(target)); #line 93 "..\..\DiagramRepresentation.xaml" this.btnCut.Click += new System.Windows.RoutedEventHandler(this.btnCut_Click); #line default #line hidden return; case 19: this.btnCopy = ((System.Windows.Controls.Button)(target)); #line 96 "..\..\DiagramRepresentation.xaml" this.btnCopy.Click += new System.Windows.RoutedEventHandler(this.btnCopy_Click); #line default #line hidden return; case 20: this.btnCopyAsImage = ((System.Windows.Controls.Button)(target)); #line 99 "..\..\DiagramRepresentation.xaml" this.btnCopyAsImage.Click += new System.Windows.RoutedEventHandler(this.btnCopyAsImage_Click); #line default #line hidden return; case 21: this.btnPaste = ((System.Windows.Controls.Button)(target)); #line 102 "..\..\DiagramRepresentation.xaml" this.btnPaste.Click += new System.Windows.RoutedEventHandler(this.btnPaste_Click); #line default #line hidden return; case 22: this.btnFlatten = ((System.Windows.Controls.Button)(target)); #line 105 "..\..\DiagramRepresentation.xaml" this.btnFlatten.Click += new System.Windows.RoutedEventHandler(this.btnFlatten_Click); #line default #line hidden return; case 23: this.btnAlignTopLeft = ((System.Windows.Controls.Button)(target)); #line 108 "..\..\DiagramRepresentation.xaml" this.btnAlignTopLeft.Click += new System.Windows.RoutedEventHandler(this.btnAlignTopLeft_Click); #line default #line hidden return; case 24: this.btnShowHideToolbars = ((System.Windows.Controls.Primitives.ToggleButton)(target)); #line 111 "..\..\DiagramRepresentation.xaml" this.btnShowHideToolbars.Checked += new System.Windows.RoutedEventHandler(this.btnShowHideToolbars_Checked); #line default #line hidden #line 111 "..\..\DiagramRepresentation.xaml" this.btnShowHideToolbars.Unchecked += new System.Windows.RoutedEventHandler(this.btnShowHideToolbars_Unchecked); #line default #line hidden return; case 25: this.tbPrinting = ((System.Windows.Controls.ToolBar)(target)); return; case 26: this.btnPrint = ((System.Windows.Controls.Button)(target)); #line 117 "..\..\DiagramRepresentation.xaml" this.btnPrint.Click += new System.Windows.RoutedEventHandler(this.btnPrint_Click); #line default #line hidden return; case 27: this.btnSaveAsImage = ((System.Windows.Controls.Button)(target)); #line 121 "..\..\DiagramRepresentation.xaml" this.btnSaveAsImage.Click += new System.Windows.RoutedEventHandler(this.btnSaveAsImage_Click); #line default #line hidden return; case 28: this.btnChart = ((System.Windows.Controls.Button)(target)); #line 125 "..\..\DiagramRepresentation.xaml" this.btnChart.Click += new System.Windows.RoutedEventHandler(this.btnChart_Click); #line default #line hidden return; case 29: this.tbUndo = ((System.Windows.Controls.ToolBar)(target)); return; case 30: this.btnUndo = ((System.Windows.Controls.Button)(target)); #line 141 "..\..\DiagramRepresentation.xaml" this.btnUndo.Click += new System.Windows.RoutedEventHandler(this.btnUndo_Click); #line default #line hidden return; case 31: this.btnRedo = ((System.Windows.Controls.Button)(target)); #line 144 "..\..\DiagramRepresentation.xaml" this.btnRedo.Click += new System.Windows.RoutedEventHandler(this.btnRedo_Click); #line default #line hidden return; case 32: this.tbIC = ((System.Windows.Controls.ToolBar)(target)); return; case 33: #line 150 "..\..\DiagramRepresentation.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnCreateIC_Click); #line default #line hidden return; case 34: #line 153 "..\..\DiagramRepresentation.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnImportIC_Click); #line default #line hidden return; case 35: this.spAppInfo = ((System.Windows.Controls.StackPanel)(target)); return; case 36: this.lblAppTitle = ((System.Windows.Controls.TextBlock)(target)); return; case 37: this.lblAppVersion = ((System.Windows.Controls.TextBlock)(target)); return; case 38: this.lblAppCopyright = ((System.Windows.Controls.TextBlock)(target)); return; case 39: this.lblLink = ((System.Windows.Controls.TextBlock)(target)); return; case 40: #line 164 "..\..\DiagramRepresentation.xaml" ((System.Windows.Documents.Hyperlink)(target)).RequestNavigate += new System.Windows.Navigation.RequestNavigateEventHandler(this.Hyperlink_RequestNavigate); #line default #line hidden return; case 41: this.lblInfoLine = ((System.Windows.Controls.TextBlock)(target)); return; case 42: this.adornerLayer = ((System.Windows.Controls.Canvas)(target)); return; case 43: this.controlRegion = ((System.Windows.Controls.StackPanel)(target)); return; case 44: this.btnCancel = ((System.Windows.Controls.Button)(target)); return; case 45: this.btnTransform = ((System.Windows.Controls.Button)(target)); return; case 46: this.btnScale = ((System.Windows.Controls.Button)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Grid1 = ((System.Windows.Controls.Grid)(target)); return; case 2: this.spGates = ((GatesWpf.GateSelector)(target)); return; case 3: this.gateCanvas = ((GatesWpf.GateCanvas)(target)); return; case 4: this.spZoom = ((System.Windows.Controls.StackPanel)(target)); return; case 5: this.slZoom = ((System.Windows.Controls.Slider)(target)); #line 56 "..\..\Window1.xaml" this.slZoom.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.slZoom_ValueChanged); #line default #line hidden return; case 6: this.btnActualSize = ((System.Windows.Controls.Button)(target)); #line 59 "..\..\Window1.xaml" this.btnActualSize.Click += new System.Windows.RoutedEventHandler(this.btnActualSize_Click); #line default #line hidden return; case 7: this.btnFitToScreen = ((System.Windows.Controls.Button)(target)); #line 62 "..\..\Window1.xaml" this.btnFitToScreen.Click += new System.Windows.RoutedEventHandler(this.btnFitToScreen_Click); #line default #line hidden return; case 8: this.spSpeed = ((System.Windows.Controls.StackPanel)(target)); return; case 9: this.slSpeed = ((System.Windows.Controls.Slider)(target)); return; case 10: this.tbFile = ((System.Windows.Controls.ToolBar)(target)); return; case 11: #line 76 "..\..\Window1.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnNew_Click); #line default #line hidden return; case 12: #line 79 "..\..\Window1.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnOpen_Click); #line default #line hidden return; case 13: this.btnSave = ((System.Windows.Controls.Button)(target)); #line 82 "..\..\Window1.xaml" this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click); #line default #line hidden return; case 14: #line 85 "..\..\Window1.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnSave_As_Click); #line default #line hidden return; case 15: this.tbEdit = ((System.Windows.Controls.ToolBar)(target)); return; case 16: this.btnCut = ((System.Windows.Controls.Button)(target)); #line 90 "..\..\Window1.xaml" this.btnCut.Click += new System.Windows.RoutedEventHandler(this.btnCut_Click); #line default #line hidden return; case 17: this.btnCopy = ((System.Windows.Controls.Button)(target)); #line 93 "..\..\Window1.xaml" this.btnCopy.Click += new System.Windows.RoutedEventHandler(this.btnCopy_Click); #line default #line hidden return; case 18: this.btnCopyAsImage = ((System.Windows.Controls.Button)(target)); #line 96 "..\..\Window1.xaml" this.btnCopyAsImage.Click += new System.Windows.RoutedEventHandler(this.btnCopyAsImage_Click); #line default #line hidden return; case 19: this.btnPaste = ((System.Windows.Controls.Button)(target)); #line 99 "..\..\Window1.xaml" this.btnPaste.Click += new System.Windows.RoutedEventHandler(this.btnPaste_Click); #line default #line hidden return; case 20: this.btnFlatten = ((System.Windows.Controls.Button)(target)); #line 102 "..\..\Window1.xaml" this.btnFlatten.Click += new System.Windows.RoutedEventHandler(this.btnFlatten_Click); #line default #line hidden return; case 21: this.btnAlignTopLeft = ((System.Windows.Controls.Button)(target)); #line 105 "..\..\Window1.xaml" this.btnAlignTopLeft.Click += new System.Windows.RoutedEventHandler(this.btnAlignTopLeft_Click); #line default #line hidden return; case 22: this.tbPrinting = ((System.Windows.Controls.ToolBar)(target)); return; case 23: this.btnPrint = ((System.Windows.Controls.Button)(target)); #line 112 "..\..\Window1.xaml" this.btnPrint.Click += new System.Windows.RoutedEventHandler(this.btnPrint_Click); #line default #line hidden return; case 24: this.btnSaveAsImage = ((System.Windows.Controls.Button)(target)); #line 116 "..\..\Window1.xaml" this.btnSaveAsImage.Click += new System.Windows.RoutedEventHandler(this.btnSaveAsImage_Click); #line default #line hidden return; case 25: this.btnChart = ((System.Windows.Controls.Button)(target)); #line 120 "..\..\Window1.xaml" this.btnChart.Click += new System.Windows.RoutedEventHandler(this.btnChart_Click); #line default #line hidden return; case 26: this.tbUndo = ((System.Windows.Controls.ToolBar)(target)); return; case 27: this.btnUndo = ((System.Windows.Controls.Button)(target)); #line 135 "..\..\Window1.xaml" this.btnUndo.Click += new System.Windows.RoutedEventHandler(this.btnUndo_Click); #line default #line hidden return; case 28: this.btnRedo = ((System.Windows.Controls.Button)(target)); #line 138 "..\..\Window1.xaml" this.btnRedo.Click += new System.Windows.RoutedEventHandler(this.btnRedo_Click); #line default #line hidden return; case 29: this.tbIC = ((System.Windows.Controls.ToolBar)(target)); return; case 30: #line 144 "..\..\Window1.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnCreateIC_Click); #line default #line hidden return; case 31: #line 145 "..\..\Window1.xaml" ((System.Windows.Controls.Image)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.Image_MouseEnter); #line default #line hidden #line 145 "..\..\Window1.xaml" ((System.Windows.Controls.Image)(target)).MouseLeave += new System.Windows.Input.MouseEventHandler(this.Image_MouseLeave); #line default #line hidden return; case 32: #line 147 "..\..\Window1.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnImportIC_Click); #line default #line hidden return; case 33: this.tbVis = ((System.Windows.Controls.ToolBar)(target)); return; case 34: this.btnShowHideToolbars = ((System.Windows.Controls.Primitives.ToggleButton)(target)); #line 154 "..\..\Window1.xaml" this.btnShowHideToolbars.Checked += new System.Windows.RoutedEventHandler(this.btnShowHideToolbars_Checked); #line default #line hidden #line 154 "..\..\Window1.xaml" this.btnShowHideToolbars.Unchecked += new System.Windows.RoutedEventHandler(this.btnShowHideToolbars_Unchecked); #line default #line hidden return; case 35: this.btnShowTrueFalse = ((System.Windows.Controls.Primitives.ToggleButton)(target)); #line 157 "..\..\Window1.xaml" this.btnShowTrueFalse.Checked += new System.Windows.RoutedEventHandler(this.btnShowTrueFalse_Checked); #line default #line hidden #line 157 "..\..\Window1.xaml" this.btnShowTrueFalse.Unchecked += new System.Windows.RoutedEventHandler(this.btnShowTrueFalse_Unchecked); #line default #line hidden return; case 36: this.btnUserMode = ((System.Windows.Controls.Primitives.ToggleButton)(target)); #line 164 "..\..\Window1.xaml" this.btnUserMode.Checked += new System.Windows.RoutedEventHandler(this.btnUserMode_Checked); #line default #line hidden #line 164 "..\..\Window1.xaml" this.btnUserMode.Unchecked += new System.Windows.RoutedEventHandler(this.btnUserMode_Unchecked); #line default #line hidden return; case 37: this.spAppInfo = ((System.Windows.Controls.StackPanel)(target)); return; case 38: this.lblAppTitle = ((System.Windows.Controls.TextBlock)(target)); return; case 39: this.lblAppVersion = ((System.Windows.Controls.TextBlock)(target)); return; case 40: this.lblAppCopyright = ((System.Windows.Controls.TextBlock)(target)); return; case 41: this.lblLink = ((System.Windows.Controls.TextBlock)(target)); return; case 42: #line 176 "..\..\Window1.xaml" ((System.Windows.Documents.Hyperlink)(target)).RequestNavigate += new System.Windows.Navigation.RequestNavigateEventHandler(this.Hyperlink_RequestNavigate); #line default #line hidden return; case 43: this.lblInfoLine = ((System.Windows.Controls.TextBlock)(target)); return; case 44: this.adornerLayer = ((System.Windows.Controls.Canvas)(target)); return; } this._contentLoaded = true; }