void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.newItem = ((DevExpress.Xpf.Bars.BarButtonItem)(target)); return; case 2: this.saveAsItem = ((DevExpress.Xpf.Bars.BarButtonItem)(target)); return; case 3: this.leftCheckItem = ((DevExpress.Xpf.Bars.BarCheckItem)(target)); return; case 4: this.rightCheckItem = ((DevExpress.Xpf.Bars.BarCheckItem)(target)); return; case 5: this.justifyCheckItem = ((DevExpress.Xpf.Bars.BarCheckItem)(target)); return; case 6: this.printItem = ((DevExpress.Xpf.Bars.BarButtonItem)(target)); return; case 7: this.editItem = ((DevExpress.Xpf.Bars.BarEditItem)(target)); return; case 8: this.editorGroup = ((DevExpress.Xpf.Ribbon.BarButtonGroup)(target)); return; case 9: this.alignmentGroup = ((DevExpress.Xpf.Ribbon.BarButtonGroup)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.RibbonControl = ((DevExpress.Xpf.Ribbon.RibbonControl)(target)); return; case 2: #line 73 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OptionsButton_Click); #line default #line hidden return; case 3: #line 75 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ExitButton_Click); #line default #line hidden return; case 4: this.pgFile = ((DevExpress.Xpf.Ribbon.RibbonPageGroup)(target)); #line 98 "..\..\MainWindow.xaml" this.pgFile.CaptionButtonClick += new DevExpress.Xpf.Ribbon.RibbonCaptionButtonClickEventHandler(this.groupFile_CaptionButtonClick); #line default #line hidden return; case 5: this.bNew = ((DevExpress.Xpf.Bars.BarButtonItem)(target)); return; case 6: this.bOpen = ((DevExpress.Xpf.Bars.BarButtonItem)(target)); return; case 7: this.bClose = ((DevExpress.Xpf.Bars.BarButtonItem)(target)); return; case 8: this.bPrint = ((DevExpress.Xpf.Bars.BarButtonItem)(target)); return; case 9: this.sbSave = ((DevExpress.Xpf.Bars.BarSplitButtonItem)(target)); return; case 10: this.bSave = ((DevExpress.Xpf.Bars.BarButtonItem)(target)); return; case 11: this.bSaveAs = ((DevExpress.Xpf.Bars.BarButtonItem)(target)); return; case 12: #line 151 "..\..\MainWindow.xaml" ((DevExpress.Xpf.Ribbon.RibbonPageGroup)(target)).CaptionButtonClick += new DevExpress.Xpf.Ribbon.RibbonCaptionButtonClickEventHandler(this.groupEdit_CaptionButtonClick); #line default #line hidden return; case 13: this.bPaste = ((DevExpress.Xpf.Bars.BarButtonItem)(target)); return; case 14: this.bCut = ((DevExpress.Xpf.Bars.BarButtonItem)(target)); return; case 15: this.bCopy = ((DevExpress.Xpf.Bars.BarButtonItem)(target)); return; case 16: this.bClear = ((DevExpress.Xpf.Bars.BarButtonItem)(target)); return; case 17: this.bgFontShape = ((DevExpress.Xpf.Ribbon.BarButtonGroup)(target)); return; case 18: this.bBold = ((DevExpress.Xpf.Bars.BarCheckItem)(target)); return; case 19: this.bItalic = ((DevExpress.Xpf.Bars.BarCheckItem)(target)); return; case 20: this.bUnderline = ((DevExpress.Xpf.Bars.BarCheckItem)(target)); return; case 21: this.categorySelection = ((DevExpress.Xpf.Ribbon.RibbonPageCategory)(target)); return; case 22: this.gFont = ((DevExpress.Xpf.Ribbon.RibbonGalleryBarItem)(target)); return; case 23: #line 200 "..\..\MainWindow.xaml" ((DevExpress.Xpf.Bars.Gallery)(target)).ItemChecked += new DevExpress.Xpf.Bars.GalleryItemEventHandler(this.FontFamilyGallery_ItemChecked); #line default #line hidden return; case 24: this.FontFamilyGalleryGroup = ((DevExpress.Xpf.Bars.GalleryItemGroup)(target)); return; case 25: #line 217 "..\..\MainWindow.xaml" ((DevExpress.Xpf.Bars.Gallery)(target)).ItemChecked += new DevExpress.Xpf.Bars.GalleryItemEventHandler(this.FontFamilyGallery_ItemChecked); #line default #line hidden return; case 26: this.FontFamilyDropDownGalleryGroup = ((DevExpress.Xpf.Bars.GalleryItemGroup)(target)); return; case 27: this.eFontSize = ((DevExpress.Xpf.Bars.BarEditItem)(target)); #line 228 "..\..\MainWindow.xaml" this.eFontSize.EditValueChanged += new System.Windows.RoutedEventHandler(this.eFontSize_EditValueChanged); #line default #line hidden return; case 28: this.StatusBar = ((DevExpress.Xpf.Ribbon.RibbonStatusBarControl)(target)); return; case 29: this.bAgvState = ((DevExpress.Xpf.Bars.BarStaticItem)(target)); return; case 30: this.bRobotState = ((DevExpress.Xpf.Bars.BarButtonItem)(target)); return; case 31: this.bPosInfo = ((DevExpress.Xpf.Bars.BarStaticItem)(target)); return; case 32: this.drawingSurface = ((System.Windows.Controls.Canvas)(target)); #line 261 "..\..\MainWindow.xaml" this.drawingSurface.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.drawingSurface_MouseLeftButtonDown); #line default #line hidden #line 261 "..\..\MainWindow.xaml" this.drawingSurface.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.drawingSurface_MouseLeftButtonUp); #line default #line hidden #line 261 "..\..\MainWindow.xaml" this.drawingSurface.MouseMove += new System.Windows.Input.MouseEventHandler(this.drawingSurface_MouseMove); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.barManager = ((DevExpress.Xpf.Bars.BarManager)(target)); return; case 2: this.eEditItem = ((DevExpress.Xpf.Bars.BarEditItem)(target)); return; case 3: this.eCheckItem = ((DevExpress.Xpf.Bars.BarCheckItem)(target)); return; case 4: this.eStaticItem = ((DevExpress.Xpf.Bars.BarStaticItem)(target)); return; case 5: this.bHelp = ((DevExpress.Xpf.Bars.BarButtonItem)(target)); return; case 6: this.bCut = ((DevExpress.Xpf.Bars.BarButtonItem)(target)); return; case 7: this.bCopy = ((DevExpress.Xpf.Bars.BarButtonItem)(target)); return; case 8: this.bPaste = ((DevExpress.Xpf.Bars.BarButtonItem)(target)); return; case 9: this.bNew = ((DevExpress.Xpf.Bars.BarButtonItem)(target)); return; case 10: this.bPrint = ((DevExpress.Xpf.Bars.BarButtonItem)(target)); return; case 11: this.bOpen = ((DevExpress.Xpf.Bars.BarButtonItem)(target)); return; case 12: this.bSplitButton = ((DevExpress.Xpf.Bars.BarSplitButtonItem)(target)); return; case 13: this.mmFile = ((DevExpress.Xpf.Bars.BarSubItem)(target)); return; case 14: this.bgButtons1 = ((DevExpress.Xpf.Ribbon.BarButtonGroup)(target)); return; case 15: this.bgButtons2 = ((DevExpress.Xpf.Ribbon.BarButtonGroup)(target)); return; case 16: this.bgItems1 = ((DevExpress.Xpf.Ribbon.BarButtonGroup)(target)); return; case 17: this.bgItems2 = ((DevExpress.Xpf.Ribbon.BarButtonGroup)(target)); return; case 18: this.itemGallery = ((DevExpress.Xpf.Ribbon.RibbonGalleryBarItem)(target)); return; case 19: this.Group11 = ((DevExpress.Xpf.Bars.GalleryItemGroup)(target)); return; case 20: this.Group12 = ((DevExpress.Xpf.Bars.GalleryItemGroup)(target)); return; case 21: this.ribbonControl1 = ((DevExpress.Xpf.Ribbon.RibbonControl)(target)); return; case 22: this.Home = ((DevExpress.Xpf.Ribbon.RibbonPage)(target)); return; case 23: this.Second = ((DevExpress.Xpf.Ribbon.RibbonPage)(target)); return; case 24: this.Third = ((DevExpress.Xpf.Ribbon.RibbonPage)(target)); return; case 25: this.Forth = ((DevExpress.Xpf.Ribbon.RibbonPage)(target)); return; case 26: this.Fifth = ((DevExpress.Xpf.Ribbon.RibbonPage)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Ribbon = ((DevExpress.Xpf.Ribbon.RibbonControl)(target)); return; case 2: this.eRibbonStyle = ((DevExpress.Xpf.Bars.BarEditItem)(target)); return; case 3: this.bAbout = ((DevExpress.Xpf.Bars.BarButtonItem)(target)); return; case 4: this.pgFile = ((DevExpress.Xpf.Ribbon.RibbonPageGroup)(target)); return; case 5: this.bNew = ((DevExpress.Xpf.Bars.BarButtonItem)(target)); return; case 6: this.bOpen = ((DevExpress.Xpf.Bars.BarButtonItem)(target)); return; case 7: this.bClose = ((DevExpress.Xpf.Bars.BarButtonItem)(target)); return; case 8: this.bPrint = ((DevExpress.Xpf.Bars.BarButtonItem)(target)); return; case 9: this.sbSave = ((DevExpress.Xpf.Bars.BarSplitButtonItem)(target)); return; case 10: this.bSave = ((DevExpress.Xpf.Bars.BarButtonItem)(target)); return; case 11: this.bSaveAs = ((DevExpress.Xpf.Bars.BarButtonItem)(target)); return; case 12: this.bPaste = ((DevExpress.Xpf.Bars.BarButtonItem)(target)); return; case 13: this.bCut = ((DevExpress.Xpf.Bars.BarButtonItem)(target)); return; case 14: this.bCopy = ((DevExpress.Xpf.Bars.BarButtonItem)(target)); return; case 15: this.bClear = ((DevExpress.Xpf.Bars.BarButtonItem)(target)); return; case 16: this.bgFontShape = ((DevExpress.Xpf.Ribbon.BarButtonGroup)(target)); return; case 17: this.bBold = ((DevExpress.Xpf.Bars.BarCheckItem)(target)); return; case 18: this.bItalic = ((DevExpress.Xpf.Bars.BarCheckItem)(target)); return; case 19: this.bUnderline = ((DevExpress.Xpf.Bars.BarCheckItem)(target)); return; case 20: this.categorySelection = ((DevExpress.Xpf.Ribbon.RibbonPageCategory)(target)); return; case 21: this.gFont = ((DevExpress.Xpf.Ribbon.RibbonGalleryBarItem)(target)); return; case 22: this.FontFamilyGalleryGroup = ((DevExpress.Xpf.Bars.GalleryItemGroup)(target)); return; case 23: this.FontFamilyDropDownGalleryGroup = ((DevExpress.Xpf.Bars.GalleryItemGroup)(target)); return; case 24: this.eFontSize = ((DevExpress.Xpf.Bars.BarEditItem)(target)); return; case 25: this.StatusBar = ((DevExpress.Xpf.Ribbon.RibbonStatusBarControl)(target)); return; case 26: this.bFileName = ((DevExpress.Xpf.Bars.BarStaticItem)(target)); return; case 27: this.bPosInfo = ((DevExpress.Xpf.Bars.BarStaticItem)(target)); return; case 28: this.dockManager1 = ((DevExpress.Xpf.Docking.DockLayoutManager)(target)); return; case 29: this.paneProperties = ((DevExpress.Xpf.Docking.LayoutPanel)(target)); return; case 30: this.paneToolbox = ((DevExpress.Xpf.Docking.LayoutPanel)(target)); return; case 31: this.paneDocument1 = ((DevExpress.Xpf.Docking.DocumentPanel)(target)); return; case 32: this.paneDocument2 = ((DevExpress.Xpf.Docking.DocumentPanel)(target)); return; } this._contentLoaded = true; }