Menu 'PCBMenu'
Begin
     Popup '文件[&F] {F}'
     Begin
          MenuItem '新建[&N]...'                         'Client:CreateNewDocument(SingleDocument=True)'
          MenuItem '新建设计[&G]...'                   Client:CreateNewDocument
          MenuItem '打开[&O]...'                         Client:OpenDocument
          MenuItem '关闭[&C]'                           Client:CloseDocument
          MenuItem '关闭设计[&D]'                    Client:CloseProject
          MenuItem SEPARATOR
          MenuItem '导入[&I]...'                       PCB:Import
          MenuItem '导出[&E]...'                       PCB:Export
          MenuItem SEPARATOR
          MenuItem '保存[&S]'                       Client:SaveDocument
          MenuItem '另存为[&A]'                     'Client:SaveDocumentAs(Action=SaveAs)'
          MenuItem '保存副本为[&Y]'                 Client:SaveDocumentAs
          MenuItem '保存全部[&L]'                   Client:SaveAllDocuments
          MenuItem SEPARATOR
          MenuItem 'CAM 管理器[&M]...'               CAMManager:DisplayCAMOutputs
          MenuItem '打印/预览[&P]...'               PCBPrint:PrintPreview
          MenuItem SEPARATOR
          MenuItem '退出[&X]'                       Client:QuitFromEDAClient
     End
     Popup '编辑[&E] {E}'
     Begin
          MenuItem '撤消[&U]\tAlt+BkSp'            PCB:Undo
          MenuItem '重做[&R]\tCtrl+BkSp'           PCB:Redo
          MenuItem SEPARATOR
          MenuItem '剪切[&T]\tCtrl+X'              PCB:Cut
          MenuItem '复制[&C]\tCtrl+C'              PCB:Copy
          MenuItem '粘贴[&P]\tCtrl+V'              PCB:Paste
          MenuItem '特殊粘贴[&A]...'               'PCB:Paste(Mode=Special)'
          MenuItem '清除[&L]\tCtrl+Del'            PCB:Clear
          MenuItem SEPARATOR
          Popup '选择[&S] {S}'
          Begin
               MenuItem '块内[&I]'               'PCB:Select(Scope = InsideArea)'
               MenuItem '块外[&O]'               'PCB:Select(Scope = OutsideArea)'
               MenuItem '全部[&A]'               'PCB:Select(Scope = All)'
               MenuItem SEPARATOR
               MenuItem '网络[&N]'                  'PCB:Select(Scope = Net)'
               MenuItem '连接的铜箔[&P]'            'PCB:Select(Scope = ConnectedCopper)'
               MenuItem '物理连接[&C]'              'PCB:Select(Scope = PhysicalConnection)'
               MenuItem SEPARATOR
               MenuItem '层上全部[&Y]'               'PCB:Select(Scope = Layer)'
               MenuItem '可活动的对象[&F]'           'PCB:Select(Scope = Free)'
               MenuItem '所有锁定的[&K]'             'PCB:Select(Scope = Locked)'
               MenuItem '偏离网格的焊盘[&G]'         'PCB:Select(Scope = OffGridPads)'
               MenuItem '孔径[&H]...'                'Macro:RunMacro(DesignName=\system\templates.ddb | DocumentName=macros\HoleSize.bas | Language=ClientBasic)'
               MenuItem SEPARATOR
               MenuItem '单选/复选[&T]'              PCB:ToggleSelection
          End
          Popup '取消选择[&E] {X}'
          Begin
               MenuItem '块内[&I]'               'PCB:DeSelect(Scope = InsideArea)'
               MenuItem '块外[&O]'               'PCB:DeSelect(Scope = OutsideArea)'
               MenuItem '全部[&A]'               'PCB:DeSelect(Scope = All)'
               MenuItem SEPARATOR
               MenuItem '层上全部[&Y]'           'PCB:DeSelect(Scope = Layer)'
               MenuItem '可活动的对象[&F]'       'PCB:DeSelect(Scope = Free)'
               MenuItem SEPARATOR
               MenuItem '单选/复选[&T]'           PCB:ToggleSelection
          End
          MenuItem '疑难管理器[&Q]...'                Query:RunWizard
          MenuItem SEPARATOR
          MenuItem '删除[&D]'                         'PCB:DeleteObjects(Object = Prompt)'
          MenuItem '修改[&H]'                          PCB:ChangeObject
          Popup '移动[&M] {M}'
          Begin
               MenuItem '移动[&M]'                      PCB:MoveObject
               MenuItem '拖动[&D]'                      'PCB:MoveObject(Drag = True|$Description=拖动当前文档中的任意对象)'
               MenuItem '元件[&C]'                      'PCB:MoveObject(Object = Component|Drag=True|$Description=移动或拖动元件)'
               MenuItem SEPARATOR
               MenuItem '重布[&R]'                   'PCB:MoveObject(Object=ReRoute|$Description=重新布置当前文档的铜箔线段)'
               MenuItem '折断铜箔[&B]'               PCB:BreakTrack
               MenuItem '拖动铜箔端点[&E]'           'PCB:MoveObject(Object=TrackEnd|$Description=在当前文档中拖动连接的铜箔线顶点)'
               MenuItem SEPARATOR
               MenuItem '移动选择[&S]'               'PCB:MoveObject(Object = Selection|$Description=移动选取的对象)'
               MenuItem '旋转选择[&O]...'            PCB:RotateSelectedObjects
               MenuItem '翻转选择[&I]'               'PCB:FlipSelectedObjects(Axis=Horizontal)'
               MenuItem SEPARATOR
               MenuItem '多边形顶点[&G]'             'PCB:MoveObject(Object = PolygonVertices|$Description=移动多边形顶点)'
               MenuItem '分割内层顶点[&V]'           'PCB:MoveObject(Object = PolygonVertices|$Description=移动内层分割顶点)'
          End
          MenuItem SEPARATOR
          Popup '原点[&O]'
          Begin
               MenuItem '设置[&S]'                      PCB:SetOrigin
               MenuItem '重设[&R]'                      PCB:ResetOrigin
          End
          Popup '跳转[&J] {J}'
          Begin
               MenuItem '绝对原点[&A]'            'PCB:Jump(Object = Absolute)'
               MenuItem '当前原点[&O]'            'PCB:Jump(Object = Relative)'
               MenuItem '新的坐标位置[&L]'        'PCB:Jump(Object = Location)'
               MenuItem SEPARATOR
               MenuItem '元件[&C]...'              'PCB:Jump(Object = Component)'
               MenuItem '网络[&N]...'              'PCB:Jump(Object = Net)'
               MenuItem '焊盘[&P]...'              'PCB:Jump(Object = Pad)'
               MenuItem '字串[&S]...'              'PCB:Jump(Object = String)'
               MenuItem '汉字[&H]'                 'Macro:RunMacro(designname=\font.ddb|documentname=documents\font.bas|language=clientbasic)'
               MenuItem '错误标记[&E]'             'PCB:Jump(Object = DRCError)'
               MenuItem '选择[&T]'                 'PCB:Jump(Object = Selected)'
               MenuItem SEPARATOR
               Popup '位置标记[&M]'
               Begin
                    MenuItem '1[&1]'                    'PCB:Jump(Object = JumpToLocation1)'
                    MenuItem '2[&2]'                    'PCB:Jump(Object = JumpToLocation2)'
                    MenuItem '3[&3]'                    'PCB:Jump(Object = JumpToLocation3)'
                    MenuItem '4[&4]'                    'PCB:Jump(Object = JumpToLocation4)'
                    MenuItem '5[&5]'                    'PCB:Jump(Object = JumpToLocation5)'
                    MenuItem '6[&6]'                    'PCB:Jump(Object = JumpToLocation6)'
                    MenuItem '7[&7]'                    'PCB:Jump(Object = JumpToLocation7)'
                    MenuItem '8[&8]'                    'PCB:Jump(Object = JumpToLocation8)'
                    MenuItem '9[&9]'                    'PCB:Jump(Object = JumpToLocation9)'
                    MenuItem '10[&0]'                   'PCB:Jump(Object = JumpToLocation10)'
               End
               Popup '设置位置标记'
               Begin
                    MenuItem '1[&1]'                     'PCB:Jump(Object = PlaceLocation1)'
                    MenuItem '2[&2]'                     'PCB:Jump(Object = PlaceLocation2)'
                    MenuItem '3[&3]'                     'PCB:Jump(Object = PlaceLocation3)'
                    MenuItem '4[&4]'                     'PCB:Jump(Object = PlaceLocation4)'
                    MenuItem '5[&5]'                     'PCB:Jump(Object = PlaceLocation5)'
                    MenuItem '6[&6]'                     'PCB:Jump(Object = PlaceLocation6)'
                    MenuItem '7[&7]'                     'PCB:Jump(Object = PlaceTLocation7)'
                    MenuItem '8[&8]'                     'PCB:Jump(Object = PlaceLocation8)'
                    MenuItem '9[&9]'                     'PCB:Jump(Object = PlaceLocation9)'
                    MenuItem '10[&0]'                    'PCB:Jump(Object = PlaceLocation10)'
               End
          End
          MenuItem SEPARATOR
          MenuItem '导出到电子表格[&X]'                 PCB_SS:Export
     End
     Popup '查看[&V] {V}'
     Begin
          MenuItem '适合文档[&D]'                    'PCB:Zoom(Action = All)'
          MenuItem '适合板框[&F]'                    'PCB:Zoom(Action = Document)'
          MenuItem '选区[&A]'                        'PCB:Zoom(Action = Area)'
          MenuItem '光标点[&A]'                      'PCB:Zoom(Action = Point)'
          MenuItem '选取的对象[&E]'                  'PCB:Zoom(Action = Selected|$Description=适合查看当前的所有对象)'
          MenuItem SEPARATOR
          MenuItem '放大[&I]'                         'PCB:Zoom(Action = In)'
          MenuItem '缩小[&O]'                         'PCB:Zoom(Action = Out)'
          MenuItem '上次缩放[&Z]'                     'PCB:Zoom(Action = Last)'
          MenuItem '滚屏[&N]'                         'PCB:Zoom(Action = Pan)'
          MenuItem '刷新[&R]'                         'PCB:Zoom(Action = Redraw)'
          MenuItem SEPARATOR
          MenuItem '3D 印制板查看[&3]'                'PCB3D:ViewPCB3D'
          MenuItem SEPARATOR
          MenuItem '设计管理器[&M]'                   Client:ToggleDocumentManager
          MenuItem '状态栏[&S]'                       Client:ToggleClientStatusBar
          MenuItem '命令状态栏'                       Client:ToggleProcessStatusBar
          Popup '工具条[&B] {B}'
          Begin
               MenuItem '主工具条[&M]'               'Client:CustomizeResources(ToggleToolbar=PCBToolbar)'
               MenuItem '放置工具[&P]'               'Client:CustomizeResources(ToggleToolbar=PlacementTools)'
               MenuItem '放置元件[&M]'               'Client:CustomizeResources(ToggleToolbar=ComponentPlacement)'
               MenuItem '查找选择[&F]'               'Client:CustomizeResources(ToggleToolbar=FindSelections)'
               MenuItem SEPARATOR
               MenuItem '定制[&C]...'                'Client:CustomizeResources(Tab=Toolbars)'
          End
          MenuItem SEPARATOR
          Popup '连接[&C]'
          Begin
              MenuItem '显示网络[&N]'                 'PCB:ShowConnections(Show = Net)'
              MenuItem '显示元件网络[&C]'             'PCB:ShowConnections(Show = ComponentNets)'
              MenuItem '显示全部[&S]'                 'PCB:ShowConnections(Show = All)'
              MenuItem SEPARATOR
              MenuItem '隐藏网络'                     'PCB:HideConnections(Hide = Net)'
              MenuItem '隐藏元件网络'                 'PCB:HideConnections(Hide = ComponentNets)'
              MenuItem '隐藏全部[&H]'                 'PCB:HideConnections(Hide = All)'
          End
          MenuItem '公英制切换[&U]'                   'PCB:DocumentPreferences(MeasurementUnit=Toggle)'
     End
     Popup '放置[&P] {P}'
     Begin
          MenuItem '圆心弧[&A]'                      'PCB:PlaceArc($Description=在当前文档放置一个圆心弧)'
          MenuItem '边圆弧[&E]'                      'PCB:PlaceArc(Method=Edge|$Description=在当前文档放置一个边圆弧)'
          MenuItem '任意角度圆弧[&N]'                'PCB:PlaceArc(Method=EdgeAnyAngle|$Description=在当前文档放置一个任意角度的圆弧)'
          MenuItem '完整圆圈[&U]'                    'PCB:PlaceArc(Method=Circle|$Description=在当前文档放置一个完整的圆形)'
          MenuItem SEPARATOR
          MenuItem '填充[&F]'                        PCB:PlaceFill
          MenuItem '线段[&L]'                        'ManRoute:RunExternalManualRouter(mode = line|$Description=在当前文档放置线段)'
          MenuItem '字串[&S]'                        PCB:PlaceString
          MenuItem '汉字[&H]'                        'Macro:RunMacro(designname=\font.ddb|documentname=documents\font.bas|language=clientbasic)'
          MenuItem '焊盘[&P]'                        PCB:PlacePad
          MenuItem '过孔[&V]'                        PCB:PlaceVia
          MenuItem SEPARATOR
          MenuItem '交互布线[&T]'                    'ManRoute:RunExternalManualRouter($Description=交互布线连接)'
          MenuItem SEPARATOR
          MenuItem '元件[&C]...'                     PCB:PlaceComponent
          MenuItem '坐标[&O]'                        PCB:PlaceCoordinate
          MenuItem '尺寸标注[&D]'                    PCB:PlaceDimension
          MenuItem SEPARATOR
          MenuItem '多边形覆铜[&Y]'                  PCB:PlacePolygonPlane
          MenuItem '内层分割[&I]...'                 PCB:PlaceSplitPlane
          MenuItem SEPARATOR
          Popup '禁置[&K] {K}'
          Begin
              MenuItem '圆心弧[&A]'                 'PCB:PlaceArc(Keepout=True|$Description=放置禁置圆心弧)'
              MenuItem '边圆弧[&E]'                 'PCB:PlaceArc(Method=Edge|Keepout=True|$Description=放置禁置边圆弧)'
              MenuItem '任意角度圆弧[&N]'           'PCB:PlaceArc(Method=EdgeAnyAngle|Keepout=True|$Description=放置禁置任意角度圆弧)'
              MenuItem '完整圆圈[&U]'               'PCB:PlaceArc(Method=Circle|Keepout=True|$Description=放置禁置圆圈)'
              MenuItem SEPARATOR
              MenuItem '填充[&F]'                   'PCB:PlaceFill(Keepout=True|$Description=放置禁置填充)'
              MenuItem '铜箔[&K]'                   'ManRoute:RunExternalManualRouter(mode = line|Keepout=True|$Description=放置禁置铜箔线)'
          End
          MenuItem 'Room[&R]'                        PCB:PlaceRoom
     End
     Popup '设计[&D] {D}'
     Begin
          MenuItem '规则[&R]...'                     PCB:EditRules
          MenuItem SEPARATOR
          MenuItem '载入网络[&N]...'                 PCB:Netlist
          MenuItem '网络表管理器[&E]...'             'PCB:Netlist(NetlistManager=True)'
          MenuItem '更新原理图[&S]...'               'EDS:SynchronizeDesign(Action = Backward)'
          MenuItem SEPARATOR
          MenuItem '板层叠压管理器[&K]...'           'PCB:EditInternalPlanes(LayerStack=True)'
          MenuItem '内层分割[&I]...'                 PCB:EditInternalPlanes
          MenuItem '机械层[&M]...'                   'PCB:EditInternalPlanes(Mechanical=True)'
          MenuItem '组群[&C]...'                       PCB:EditClasses
          MenuItem '点对点编辑器[&F]...'             PCB:EditFromTo

          MenuItem SEPARATOR
          MenuItem '浏览元件[&B]...'                 PCB:LibraryBrowse
          MenuItem '添加/删除封装库[&L]...'          PCB:AddRemoveLibraryInPCBEditor
          MenuItem '制作封装库'                  MakeLib:BuildPCBLibrary
          MenuItem '光圈库[&A]...'                   PCB:ApertureLibrary
          MenuItem SEPARATOR
          MenuItem '选项[&O]...'                     PCB:DocumentPreferences
     End
     Popup '工具[&T] {T}'
     Begin
          MenuItem '设计规则检查[&D]...'             PCB:DesignRuleCheck
          MenuItem '重设错误标记[&M]'                PCB:ResetAllErrorMarkers
          MenuItem SEPARATOR
          Popup '自动放置[&L]'
          Begin
               MenuItem '自动放置[&A]...'           AutoPlacer:RunAutoPlacer
               MenuItem '停止自动放置[&S]'          AutoPlacer:StopAutoPlacer
               MenuItem SEPARATOR
               MenuItem '推齐[&S]'                   PCB:ShoveComponents
               MenuItem '设置推齐深度[&D]...'        'PCB:ShoveComponents(Method = SetShoveDepth)'
               MenuItem '从文件放置[&F]...'          PCB:PlaceComponentsFromFile
          End
          Popup '交互放置[&I] {I}'
          Begin
              MenuItem '对齐[&A]...'               'PCB:AlignComponents($Description=运行对齐元件对话)'
              MenuItem '元件文字位置[&P]...'       'PCB:AutopositionComponentTexts($Description=运行元件文字的位置对话)'
              MenuItem SEPARATOR
              MenuItem '左对齐[&L]'                'PCB:AlignComponents(Alignment=Left|$Description=对齐选中元件的左边)'
              MenuItem '右对齐[&R]'                'PCB:AlignComponents(Alignment=Right|$Description=对齐选中元件的右边)'
              MenuItem '顶部对齐[&T]'              'PCB:AlignComponents(Alignment=Top|$Description=对齐选中元件的顶部)'
              MenuItem '底部对齐[&B]'              'PCB:AlignComponents(Alignment=Bottom|$Description=对齐选中元件的底部)'
              MenuItem '水平中心[&C]'              'PCB:AlignComponents(Alignment=CenterHorizontal|$Description=对齐选中元件的水平中心)'
              MenuItem '垂直中心[&E]'              'PCB:AlignComponents(Alignment=CenterVertical|$Description=对齐选中元件的垂直中心)'
              MenuItem SEPARATOR
              Popup '水平间隔[&H]'
              Begin
                  MenuItem '相等[&E]'              'PCB:AlignComponents(Alignment=SpreadHorizontal|$Description=使选中的元件水平间距相同)'
                  MenuItem '增大[&I]'              'PCB:AlignComponents(Alignment=ExpandHorizontal|$Description=增加选中元件的水平间距)'
                  MenuItem '减小[&D]'              'PCB:AlignComponents(Alignment=ContractHorizontal|$Description=减小选中元件的水平间距)'
              End
              Popup '垂直间隔[&V]'
              Begin
                  MenuItem '相等[&E]'              'PCB:AlignComponents(Alignment=SpreadVertical|$Description=使选中的元件垂直间距相同)'
                  MenuItem '增大[&I]'              'PCB:AlignComponents(Alignment=ExpandVertical|$Description=增加选中元件的垂直间距)'
                  MenuItem '减小[&D]'              'PCB:AlignComponents(Alignment=ContractVertical|$Description=减小选中元件的垂直间距)'
              End
              MenuItem SEPARATOR
              MenuItem '排列 Room 内部[&R]'         'PCB:ArrangeComponents(Action=ArrangeWithinRoom|$Description=排列 room 内部的元件)'
              MenuItem '排列块内[&L]'               'PCB:ArrangeComponents(Action=ArrangeWithinRectangle|$Description=对齐定义区域内的元件)'
              MenuItem '排列板外[&O]'               'PCB:ArrangeComponents(Action=ArrangeOutsideBoard|$Description=排列板层外的元件)'
              MenuItem SEPARATOR
              MenuItem '移动到网格[&G]'             'PCB:AlignComponents(Alignment=MoveToGrid|$Description=移动选中的元件到网格)'
          End
          MenuItem SEPARATOR
          Popup '撤消布线[&U] {U}'
          Begin
               MenuItem '全部[&A]'                  'PCB:UnRoute(Object = All)'
               MenuItem SEPARATOR
               MenuItem '网络[&N]'                  'PCB:UnRoute(Object = Net)'
               MenuItem '连接点[&C]'                'PCB:UnRoute(Object = Connection)'
               MenuItem '元件[&O]'                  'PCB:UnRoute(Object = Component)'
          End
          MenuItem '密度图[&Y]'                      PCB:DensityMap
          MenuItem '信号完整性[&E]...'               SignalIntegrity:LaunchSIExeFromCurrentBoard
          MenuItem '从原理图标注[&N]...'             PCB:ReAnnotate
          MenuItem '交叉探测[&C]'                    'Client:CrossProbe(Repeat=False | FocusWindows=True)'
          MenuItem SEPARATOR
          Popup '变换[&V]'
          Begin
               MenuItem '推翻元件为自由图元[&C]'        'PCB:GroupPrimitives(Action=Explode | Object=Component)'
               MenuItem '推翻坐标为自由图元[&O]'        'PCB:GroupPrimitives(Action=Explode | Object=Coordinate)'
               MenuItem '推翻尺寸标注为自由图元[&D]'    'PCB:GroupPrimitives(Action=Explode | Object=Dimension)'
               MenuItem '推翻多边形为自由图元[&Y]'      'PCB:GroupPrimitives(Action=Explode | Object=Polygon)'
               MenuItem SEPARATOR
               MenuItem '转换选中的自由焊盘为过孔[&P]'  'PCB:ConvertSelected(Action=PadsToVias)'
               MenuItem '转换选中的过孔为自由焊盘[&V]'  'PCB:ConvertSelected(Action=ViasToPads)'
               MenuItem SEPARATOR
               MenuItem '从选中的元件创建连接头[&U]'    'PCB:GroupPrimitives(Action=CreateComponentUnion)'
               MenuItem '从连接头折断元件[&B]'          'PCB:GroupPrimitives(Action=BreakComponentUnion)'
               MenuItem '折断所有的元件连接头[&L]'      'PCB:GroupPrimitives(Action=BreakAllComponentUnions)'
               MenuItem SEPARATOR
               MenuItem '添加选择的图元到元件[&A]'      PCB:GroupPrimitives
          End
          MenuItem '泪滴焊[&T]...'                     PCB:TearDropSelectedPads
          MenuItem '转角铜箔[&R]'                      PCBMiter:DoMiter
          MenuItem '网络长度相等[&Z]'                  PCB:EqualizeNetLengths
          MenuItem '选择的对象外形[&J]'                PCB:OutlineSelectedObjects
          MenuItem SEPARATOR
          MenuItem '查找和设置测试点[&F]'           PCB:FindTestPoints
          MenuItem '清除所有测试点[&S]'             'PCB:FindTestPoints(Action=ClearAllTestPoints)'
          MenuItem SEPARATOR
          MenuItem '参数选择[&P]...'                PCB:SetupPreferences
     End
     Popup '自动布线[&A] {A}'
     Begin
          MenuItem '全部[&A]...'                     'PCB:Autoroute(Action=Start)'
          MenuItem SEPARATOR
          MenuItem '网络[&N]'                        'PCB:Autoroute(Action=Net)'
          MenuItem '连接点[&C]'                      'PCB:Autoroute(Action=Connection)'
          MenuItem '元件[&O]'                        'PCB:Autoroute(Action=Component)'
          MenuItem '区域[&R]'                        'PCB:Autoroute(Action=Area)'
          MenuItem SEPARATOR
          MenuItem '设置[&S]...'                     'PCB:Autoroute(Action=Start)'
          MenuItem '停止[&T]'                        'PCB:Autoroute(Action=Stop)'
          MenuItem '重设'                            'PCB:Autoroute(Action=Reset)'
          MenuItem '暂停[&P]'                        'PCB:Autoroute(Action=Pause)'
          MenuItem '重新开始[&E]'                    'PCB:Autoroute(Action=Restart)'
          MenuItem SEPARATOR
          Popup '规格接口[&I]'
          Begin
              MenuItem '向导[&W]...'                RouteCCT:RunWizard
              MenuItem '设置导出选项[&S]...'        RouteCCT:Setup
              MenuItem '导出设计文件[&E]...'        RouteCCT:ExportDesignFile
              MenuItem SEPARATOR
              MenuItem '导入布线文件[&I]...'        RouteCCT:ImportRouteFile
          End
     End
     Popup '报告[&R] {R}'
     Begin
          MenuItem '选中的管脚数[&E]...'         PCB:ListAllSelectedPins
          MenuItem '板层信息[&B]...'             PCB:BoardInformation
          MenuItem SEPARATOR
          MenuItem '设计分层[&H]'                Client:ReportProjectHierarchy
          MenuItem '网络表状态[&L]'              PCB:ReportNetlistStatus
          MenuItem '信号完整性[&G]'              SignalIntegrity:GenerateReport
          MenuItem SEPARATOR
          MenuItem '测量距离[&M]'                PCB:MeasureDistance
          MenuItem '测量图元[&P]'                'PCB:MeasureDistance (Primitives=True)'
     End
     Popup '窗口[&W] {W}'
     Begin
          MenuItem '平铺[&T]\tShift+F4'                   Client:TileAllOpenDocuments
          MenuItem '层叠[&C]\tShift+F5'                Client:CascadeAllOpenDocuments
          MenuItem SEPARATOR
          MenuItem '水平平铺[&H]'               'Client:TileAllOpenDocuments(Mode=Horizontal)'
          MenuItem '垂直平铺[&V]'                 'Client:TileAllOpenDocuments(Mode=Vertical)'
          MenuItem SEPARATOR
          MenuItem '排列为图标[&I]'                    Client:WindowArrangeIcons
          MenuItem '关闭全部[&A]'                        Client:CloseAllOpenDocuments
     End
     Popup '帮助[&H] {H}'
     Begin
          MenuItem '内容[&C]'                        'Client:RunHelpTopic(FileName=\Help\Protel.hlp|Topic=contents)'
          MenuItem '印制板主题[&P]'                  'Client:RunHelpTopic(FileName=\Help\pcbusr.hlp|Topic=Contents)'
          MenuItem SEPARATOR
          Popup '帮助在[&O]'
          Begin
               MenuItem '印制板设计对象[&O]'         'Client:RunHelpTopic(FileName=\Help\pcbusr.hlp|Topic=DesignObjects)'
               MenuItem '印制板板层设计[&L]'         'Client:RunHelpTopic(FileName=\Help\pcbusr.hlp|Topic=Layers)'
               MenuItem '定义新的印制板[&N]'         'Client:RunHelpTopic(FileName=\Help\pcbusr.hlp|Topic=DefiningTheBoard)'
               MenuItem '原理图同步[&Z]'             'Client:RunHelpTopic(FileName=\Help\pcbusr.hlp|Topic=LinkingToAdvancedSchematic)'
               MenuItem '印制板元件[&C]'             'Client:RunHelpTopic(FileName=\Help\pcbusr.hlp|Topic=ComponentsAndLibraries)'
               MenuItem '印制板封装库[&B]'           'Client:RunHelpTopic(FileName=\Help\pcbusr.hlp|Topic=LibraryEditor)'
               MenuItem '设计规则[&R]'               'Client:RunHelpTopic(FileName=\Help\pcbusr.hlp|Topic=IntroducingDesignRules)'
               MenuItem '元件放置[&P]'               'Client:RunHelpTopic(FileName=\Help\pcbusr.hlp|Topic=ComponentPlacement)'
               MenuItem '电源内层[&W]'               'Client:RunHelpTopic(FileName=\Help\pcbusr.hlp|Topic=PowerPlanes)'
               MenuItem '手动布线[&M]'               'Client:RunHelpTopic(FileName=\Help\pcbusr.hlp|Topic=RoutingManually)'
               MenuItem '自动布线[&A]'               'Client:RunHelpTopic(FileName=\Help\pcbusr.hlp|Topic=Autorouting)'
               MenuItem '布线规格接口界面[&I]'       'Client:RunHelpTopic(Filename=\Help\Cct.hlp|Topic=SetupSpecctraRouter)'
               MenuItem '设计验证[&V]'               'Client:RunHelpTopic(FileName=\Help\pcbusr.hlp|Topic=DesignVerification)'
          End
          MenuItem '热键[&S]'                  'Client:RunHelpTopic(FileName=\Help\pcbusr.hlp|Topic=KeyboardShortcutsTips)'
          MenuItem '交叉参考[&R]'              'Client:RunHelpTopic(FileName=\Help\AdvPCB.hlp | Topic=contents)'
          MenuItem SEPARATOR
          Popup '宏指令[&M]'
          Begin
               MenuItem '板层集[&L]...'             'Macro:RunMacro(DesignName=\system\templates.ddb | DocumentName=macros\PcbLayer.bas | Language=ClientBasic)'
               MenuItem '取色方案[&C]...'           'Macro:RunMacro(DesignName=\system\templates.ddb | DocumentName=macros\PcbColor.bas | Language=ClientBasic)'
               MenuItem SEPARATOR
               MenuItem '参考[&R]'                  'Client:RunHelpTopic(FileName=\Help\macusr.hlp|Topic=contents)'
          End
          Popup '弹出[&P]'
          Begin
              Popup '靠齐网格[&G] {G}'
              Begin
                  MenuItem '1 Mil'                      'PCB:SnapGrid(Size=1Mil)'
                  MenuItem '5 Mil'                      'PCB:SnapGrid(Size=5Mil)'
                  MenuItem '10 Mil'                     'PCB:SnapGrid(Size=10Mil)'
                  MenuItem '20 Mil'                     'PCB:SnapGrid(Size=20Mil)'
                  MenuItem '25 Mil'                     'PCB:SnapGrid(Size=25Mil)'
                  MenuItem '50 Mil'                     'PCB:SnapGrid(Size=50Mil)'
                  MenuItem '100 Mil'                    'PCB:SnapGrid(Size=100Mil)'
                  MenuItem '0.025 mm'                   'PCB:SnapGrid(Size=0.025MM)'
                  MenuItem '0.100 mm'                   'PCB:SnapGrid(Size=0.100MM)'
                  MenuItem '0.250 mm'                   'PCB:SnapGrid(Size=0.250MM)'
                  MenuItem '0.500 mm'                   'PCB:SnapGrid(Size=0.500MM)'
                  MenuItem '1.000 mm'                   'PCB:SnapGrid(Size=1.000MM)'
                  MenuItem '2.500 mm'                   'PCB:SnapGrid(Size=2.500MM)'
                  MenuItem '其它[&O]...'                 PCB:SnapGrid
                  MenuItem SEPARATOR
                  Popup '靠齐网格X轴[&X]'
                  Begin
                     MenuItem '1 Mil'        'PCB:SnapGridXY(Axis=X|Value=1Mil)'
                     MenuItem '5 Mil'        'PCB:SnapGridXY(Axis=X|Value=5Mil)'
                     MenuItem '10 Mil'       'PCB:SnapGridXY(Axis=X|Value=10Mil)'
                     MenuItem '20 Mil'       'PCB:SnapGridXY(Axis=X|Value=20Mil)'
                     MenuItem '25 Mil'       'PCB:SnapGridXY(Axis=X|Value=25Mil)'
                     MenuItem '50 Mil'       'PCB:SnapGridXY(Axis=X|Value=50Mil)'
                     MenuItem '100 Mil'      'PCB:SnapGridXY(Axis=X|Value=100Mil)'
                     MenuItem '0.025 mm'     'PCB:SnapGridXY(Axis=X|Value=0.025MM)'
                     MenuItem '0.100 mm'     'PCB:SnapGridXY(Axis=X|Value=0.100MM)'
                     MenuItem '0.250 mm'     'PCB:SnapGridXY(Axis=X|Value=0.250MM)'
                     MenuItem '0.500 mm'     'PCB:SnapGridXY(Axis=X|Value=0.500MM)'
                     MenuItem '1.000 mm'     'PCB:SnapGridXY(Axis=X|Value=1.000MM)'
                     MenuItem '2.500 mm'     'PCB:SnapGridXY(Axis=X|Value=2.500MM)'
                     MenuItem '其它[&O]...'  'PCB:SnapGridXY(Axis=X)'
                 End
                 Popup '靠齐网格Y轴[&Y]'
                 Begin
                     MenuItem '1 Mil'        'PCB:SnapGridXY(Axis=Y|Value=1Mil)'
                     MenuItem '5 Mil'        'PCB:SnapGridXY(Axis=Y|Value=5Mil)'
                     MenuItem '10 Mil'       'PCB:SnapGridXY(Axis=Y|Value=10Mil)'
                     MenuItem '20 Mil'       'PCB:SnapGridXY(Axis=Y|Value=20Mil)'
                     MenuItem '25 Mil'       'PCB:SnapGridXY(Axis=Y|Value=25Mil)'
                     MenuItem '50 Mil'       'PCB:SnapGridXY(Axis=Y|Value=50Mil)'
                     MenuItem '100 Mil'      'PCB:SnapGridXY(Axis=Y|Value=100Mil)'
                     MenuItem '0.025 mm'     'PCB:SnapGridXY(Axis=Y|Value=0.025MM)'
                     MenuItem '0.100 mm'     'PCB:SnapGridXY(Axis=Y|Value=0.100MM)'
                     MenuItem '0.250 mm'     'PCB:SnapGridXY(Axis=Y|Value=0.250MM)'
                     MenuItem '0.500 mm'     'PCB:SnapGridXY(Axis=Y|Value=0.500MM)'
                     MenuItem '1.000 mm'     'PCB:SnapGridXY(Axis=Y|Value=1.000MM)'
                     MenuItem '2.500 mm'     'PCB:SnapGridXY(Axis=Y|Value=2.500MM)'
                     MenuItem '其它[&O]...'  'PCB:SnapGridXY(Axis=Y)'
                 End
              End
              Popup '网络表[&N] {N}'
              Begin
                  Popup '显示连接[&S]'
                  Begin
                       MenuItem '网络[&N]'                       'PCB:ShowConnections(Show=Net)'
                       MenuItem '在元件上[&O]'                   'PCB:ShowConnections(Show=ComponentNets)'
                       MenuItem '全部[&A]'                       'PCB:ShowConnections(Show=All)'
                  End
                  Popup '隐藏连接[&H]'
                  Begin
                       MenuItem '网络[&N]'                       'PCB:HideConnections(Hide=Net)'
                       MenuItem '在元件上[&O]'                   'PCB:HideConnections(Hide=ComponentNets)'
                       MenuItem '全部[&A]'                       'PCB:HideConnections(Hide=All)'
                  End
              End
              Popup '选项[&O] {O}'
              Begin
                  MenuItem '板层选项[&B]...'               'PCB:DocumentPreferences(Tab = Options)'
                  MenuItem '板层[&L]...'                   'PCB:DocumentPreferences(Tab = Layers)'
                  MenuItem '机械层[&M]...'                 'PCB:EditInternalPlanes(Mechanical=True)'
                  MenuItem '网络表管理器[&E]...'           'PCB:Netlist(NetlistManager=True)'
                  MenuItem '板层叠压管理器[&K]...'         'PCB:EditInternalPlanes(LayerStack=True)'
                  MenuItem SEPARATOR
                  MenuItem '组群[&C]...'                     PCB:EditClasses
                  MenuItem '点对点编辑器[&F]...'           PCB:EditFromTo
                  MenuItem SEPARATOR
                  MenuItem '参数选择[&P]...'                 'PCB:SetupPreferences(Tab = Options)'
                  MenuItem '显示[&Y]...'                     'PCB:SetupPreferences(Tab = Display)'
                  MenuItem '颜色[&O]...'                     'PCB:SetupPreferences(Tab = Colors)'
                  MenuItem '显示/隐藏[&D]...'                'PCB:SetupPreferences(Tab = Show/Hide)'
                  MenuItem '默认[&U]...'                     'PCB:SetupPreferences(Tab = Defaults)'
                  MenuItem '信号完整性[&S]...'               'PCB:SetupPreferences(Tab = Signal Integrity)'
              End
              Popup '缩放[&Z] {Z}'
              Begin
                  MenuItem '窗口[&W]'                'PCB:Zoom(Action = Window)'
                  MenuItem '光标点[&P]'              'PCB:Zoom(Action = Point)'
                  MenuItem SEPARATOR
                  MenuItem '选择[&S]...'             PCB:Zoom
                  MenuItem SEPARATOR
                  MenuItem '放大[&I]'                'PCB:Zoom(Action = In)'
                  MenuItem '缩小[&O]'                'PCB:Zoom(Action = Out)'
                  MenuItem '滚屏[&N]'                'PCB:Zoom(Action = Pan)'
                  MenuItem '重绘[&R]'                'PCB:Zoom(Action = Redraw)'
                  MenuItem '当前[&T]'                'PCB:Zoom(Action = RedrawCurrent)'
                  MenuItem '上次[&L]'                'PCB:Zoom(Action = Last)'
                  MenuItem '选中[&E]'                'PCB:Zoom(Action = Selected|$Description=适合查看当前选取的所有对象)'
                  MenuItem SEPARATOR
                  MenuItem '全部[&A]'                'PCB:Zoom(Action = All)'
                  MenuItem '板框[&B]'                'PCB:Zoom(Action = Board)'
              End
              Popup '鼠标右键[&R] {Right_Click}'
              Begin
                   MenuItem '交互布线[&T]'    'ManRoute:RunExternalManualRouter($Description=交互式布局连接)'
                   Popup '靠齐网格[&G] {G}'
                   Begin
                      MenuItem '1 Mil'                      'PCB:SnapGrid(Size=1Mil)'
                      MenuItem '5 Mil'                      'PCB:SnapGrid(Size=5Mil)'
                      MenuItem '10 Mil'                     'PCB:SnapGrid(Size=10Mil)'
                      MenuItem '20 Mil'                     'PCB:SnapGrid(Size=20Mil)'
                      MenuItem '25 Mil'                     'PCB:SnapGrid(Size=25Mil)'
                      MenuItem '50 Mil'                     'PCB:SnapGrid(Size=50Mil)'
                      MenuItem '100 Mil'                    'PCB:SnapGrid(Size=100Mil)'
                      MenuItem '0.025 mm'                   'PCB:SnapGrid(Size=0.025MM)'
                      MenuItem '0.100 mm'                   'PCB:SnapGrid(Size=0.100MM)'
                      MenuItem '0.250 mm'                   'PCB:SnapGrid(Size=0.250MM)'
                      MenuItem '0.500 mm'                   'PCB:SnapGrid(Size=0.500MM)'
                      MenuItem '1.000 mm'                   'PCB:SnapGrid(Size=1.000MM)'
                      MenuItem '2.500 mm'                   'PCB:SnapGrid(Size=2.500MM)'
                      MenuItem '其它[&O]...'                PCB:SnapGrid
                      MenuItem SEPARATOR
                      Popup '靠齐网格X轴[&X]'
                      Begin
                         MenuItem '1 Mil'        'PCB:SnapGridXY(Axis=X|Value=1Mil)'
                         MenuItem '5 Mil'        'PCB:SnapGridXY(Axis=X|Value=5Mil)'
                         MenuItem '10 Mil'       'PCB:SnapGridXY(Axis=X|Value=10Mil)'
                         MenuItem '20 Mil'       'PCB:SnapGridXY(Axis=X|Value=20Mil)'
                         MenuItem '25 Mil'       'PCB:SnapGridXY(Axis=X|Value=25Mil)'
                         MenuItem '50 Mil'       'PCB:SnapGridXY(Axis=X|Value=50Mil)'
                         MenuItem '100 Mil'      'PCB:SnapGridXY(Axis=X|Value=100Mil)'
                         MenuItem '0.025 mm'     'PCB:SnapGridXY(Axis=X|Value=0.025MM)'
                         MenuItem '0.100 mm'     'PCB:SnapGridXY(Axis=X|Value=0.100MM)'
                         MenuItem '0.250 mm'     'PCB:SnapGridXY(Axis=X|Value=0.250MM)'
                         MenuItem '0.500 mm'     'PCB:SnapGridXY(Axis=X|Value=0.500MM)'
                         MenuItem '1.000 mm'     'PCB:SnapGridXY(Axis=X|Value=1.000MM)'
                         MenuItem '2.500 mm'     'PCB:SnapGridXY(Axis=X|Value=2.500MM)'
                         MenuItem '其它[&O]...'  'PCB:SnapGridXY(Axis=X)'
                      End
                      Popup '靠齐网格Y轴[&Y]'
                      Begin
                         MenuItem '1 Mil'        'PCB:SnapGridXY(Axis=Y|Value=1Mil)'
                         MenuItem '5 Mil'        'PCB:SnapGridXY(Axis=Y|Value=5Mil)'
                         MenuItem '10 Mil'       'PCB:SnapGridXY(Axis=Y|Value=10Mil)'
                         MenuItem '20 Mil'       'PCB:SnapGridXY(Axis=Y|Value=20Mil)'
                         MenuItem '25 Mil'       'PCB:SnapGridXY(Axis=Y|Value=25Mil)'
                         MenuItem '50 Mil'       'PCB:SnapGridXY(Axis=Y|Value=50Mil)'
                         MenuItem '100 Mil'      'PCB:SnapGridXY(Axis=Y|Value=100Mil)'
                         MenuItem '0.025 mm'     'PCB:SnapGridXY(Axis=Y|Value=0.025MM)'
                         MenuItem '0.100 mm'     'PCB:SnapGridXY(Axis=Y|Value=0.100MM)'
                         MenuItem '0.250 mm'     'PCB:SnapGridXY(Axis=Y|Value=0.250MM)'
                         MenuItem '0.500 mm'     'PCB:SnapGridXY(Axis=Y|Value=0.500MM)'
                         MenuItem '1.000 mm'     'PCB:SnapGridXY(Axis=Y|Value=1.000MM)'
                         MenuItem '2.500 mm'     'PCB:SnapGridXY(Axis=Y|Value=2.500MM)'
                         MenuItem '其它[&O]...'  'PCB:SnapGridXY(Axis=Y)'
                      End

                   End
                   MenuItem SEPARATOR
                   MenuItem '适合板框[&F]'           'PCB:Zoom(Action = Document)'
                   MenuItem '查看区域[&A]'           'PCB:Zoom(Action = Window)'
                   MenuItem '适合选择[&E]'           'PCB:Zoom(Action = Selected|$Description=适合查看当前选取的所有对象)'
                   MenuItem '放大[&I]\tPgUp'         'PCB:Zoom(Action = In)'
                   MenuItem '缩小[&O]\tPgDn'         'PCB:Zoom(Action = Out)'
                   MenuItem SEPARATOR
                   MenuItem '可用的一元规则[&U]...'  PCB:ShowApplicableRules
                   MenuItem '可用的二元规则[&B]...'  'PCB:ShowApplicableRules(Binary=True)'
                   MenuItem SEPARATOR
                   MenuItem '规则[&R]...'            PCB:EditRules
                   MenuItem '冲突[&V]...'            'PCB:DesignRuleCheck(InspectViolation = True)'
                   MenuItem '组群[&C]...'              PCB:EditClasses
                   Popup '选项[&S]'
                   Begin
                       MenuItem '板框选项[&B]...'            'PCB:DocumentPreferences(Tab = Options)'
                       MenuItem '板层[&L]...'                'PCB:DocumentPreferences(Tab = Layers)'
                       MenuItem '机械层[&M]...'              'PCB:EditInternalPlanes(Mechanical=True)'
                       MenuItem '网络表管理器[&E]...'        'PCB:Netlist(NetlistManager=True)'
                       MenuItem '板层叠压管理器[&K]...'      'PCB:EditInternalPlanes(LayerStack=True)'
                       MenuItem SEPARATOR
                       MenuItem '组群[&C]...'                  PCB:EditClasses
                       MenuItem '点对点编辑器[&F]...'        PCB:EditFromTo
                       MenuItem SEPARATOR
                       MenuItem '参数选择[&P]...'            'PCB:SetupPreferences(Tab = Options)'
                       MenuItem '显示[&Y]...'                'PCB:SetupPreferences(Tab = Display)'
                       MenuItem '颜色[&O]...'                'PCB:SetupPreferences(Tab = Colors)'
                       MenuItem '显示/隐藏[&D]...'           'PCB:SetupPreferences(Tab = Show/Hide)'
                       MenuItem '默认[&U]...'                'PCB:SetupPreferences(Tab = Defaults)'
                       MenuItem '信号完整性[&S]...'          'PCB:SetupPreferences(Tab = Signal Integrity)'
                   End
                   MenuItem SEPARATOR
                   MenuItem '属性[&P]...'                    PCB:ChangeSingleObject
              End
          End
          MenuItem SEPARATOR
          MenuItem '关于[&S]'                                Client:HelpAbout
      End
End

Menu 'PCBLibMenu'
Begin
     Popup '文件[&F] {F}'
     Begin
          MenuItem '新建[&N]...'                      'Client:CreateNewDocument(SingleDocument=True)'
          MenuItem '新建设计[&G]...'                  Client:CreateNewDocument
          MenuItem '打开[&O]...'                      Client:OpenDocument
          MenuItem '关闭[&C]'                         Client:CloseDocument
          MenuItem '关闭设计[&D]'                     Client:CloseProject
          MenuItem SEPARATOR
          MenuItem '保存[&S]'                         Client:SaveDocument
          MenuItem '另存为[&A]'                       'Client:SaveDocumentAs(Action=SaveAs)'
          MenuItem '保存副本为[&Y]'                   Client:SaveDocumentAs
          MenuItem '保存全部[&L]'                     Client:SaveAllDocuments
          MenuItem SEPARATOR
          MenuItem '打印/预览[&P]...'                 PCBPrint:PrintPreview
          MenuItem SEPARATOR
          MenuItem '退出[&X]'                         Client:QuitFromEDAClient
     End
     Popup '编辑[&E] {E}'
     Begin
          MenuItem '撤消[&U]\tAlt+BkSp'               PCB:Undo
          MenuItem '重做[&R]\tCtrl+BkSp'              PCB:Redo
          MenuItem SEPARATOR
          MenuItem '剪切[&T]\tCtrl+X'                 PCB:Cut
          MenuItem '复制[&C]\tCtrl+C'                 PCB:Copy
          MenuItem '粘贴[&P]\tCtrl+V'                 PCB:Paste
          MenuItem '特殊粘贴[&A]...'                  'PCB:Paste(Mode=Special)'
          MenuItem '清除[&L]\tCtrl+Del'               PCB:Clear
          MenuItem SEPARATOR
          MenuItem '复制元件[&Y]'                     PCB:CopyComponent
          MenuItem '粘贴元件[&O]'                     PCB:PasteComponent
          MenuItem SEPARATOR
          Popup '选择[&S] {S}'   
          Begin
               MenuItem '块内[&I]'                  'PCB:Select(Scope = InsideArea)'
               MenuItem '块外[&O]'                  'PCB:Select(Scope = OutsideArea)'
               MenuItem '板层[&L]'                  'PCB:Select(Scope = Layer)'
               MenuItem '全部[&A]'                  'PCB:Select(Scope = All)'
               MenuItem SEPARATOR
               MenuItem '偏离网格的焊盘[&G]'        'PCB:Select(Scope = OffGridPads)'
               MenuItem '孔径[&H]...'               'Macro:RunMacro(DesignName=\system\templates.ddb | DocumentName=macros\HoleSize.bas | Language=ClientBasic)'
          End
          Popup '取消选择[&E] {X}'
          Begin
               MenuItem '块内[&I]'               'PCB:DeSelect(Scope = InsideArea)'
               MenuItem '块外[&O]'               'PCB:DeSelect(Scope = OutsideArea)'
               MenuItem '板层[&L]'               'PCB:DeSelect(Scope = Layer)'
               MenuItem '全部[&A]'               'PCB:DeSelect(Scope = All)'
          End
          MenuItem '单选/复选[&N]'                PCB:ToggleSelection
          MenuItem SEPARATOR
          MenuItem '删除[&D]'                         'PCB:DeleteObjects(Object = Prompt)'
          MenuItem '修改[&H]'                          PCB:ChangeObject
          Popup '移动[&M] {M}'
          Begin
               MenuItem '移动[&M]'                   PCB:MoveObject
               MenuItem '拖动[&D]'                   'PCB:MoveObject(Drag = True|$Description=在当前文档中拖动任意对象)'
               MenuItem SEPARATOR
               MenuItem '折断铜箔[&B]'                PCB:BreakTrack
               MenuItem '拖动铜箔端点[&E]'            'PCB:MoveObject(Object=TrackEnd|$Description=在当前文档中拖动连接的铜箔线顶点)'
               MenuItem SEPARATOR
               MenuItem '移动选择[&S]'            'PCB:MoveObject(Object = Selection)'
               MenuItem '旋转选择[&O]...'         PCB:RotateSelectedObjects
               MenuItem '翻转选择[&I]'            'PCB:FlipSelectedObjects(Axis=Horizontal)'
          End
          MenuItem SEPARATOR
          Popup '设置参考[&F]'
          Begin
               MenuItem '管脚1[&P]'                     'PCB:SetComponentReference(Location=Pin1)'
               MenuItem '中心[&C]'                      'PCB:SetComponentReference(Location=Center)'
               MenuItem '位置[&L]'                      PCB:SetComponentReference
          End
          Popup '跳转[&J] {J}'
          Begin
               MenuItem '参考[&R]'                   'PCB:Jump(Object = Relative)'
               MenuItem '新的坐标位置[&L]'           'PCB:Jump(Object = Location)'
               MenuItem SEPARATOR
               MenuItem '选择[&T]'                   'PCB:Jump(Object = Selected)'
          End
          MenuItem SEPARATOR
          MenuItem '导出到电子表格[&X]'               'PCB_SS:Export'                      
     End
     Popup '查看[&V] {V}'
     Begin
          MenuItem '适合文档[&D]'                   'PCB:Zoom(Action = Board)'
          MenuItem '适合所有对象[&F]'               'PCB:Zoom(Action = All)'
          MenuItem '选区[&A]'                       'PCB:Zoom(Action = Area)'
          MenuItem '光标点[&A]'                     'PCB:Zoom(Action = Point)'
          MenuItem SEPARATOR
          MenuItem '放大[&I]'                       'PCB:Zoom(Action = In)'
          MenuItem '缩小[&O]'                       'PCB:Zoom(Action = Out)'
          MenuItem '上次缩放[&Z]'                   'PCB:Zoom(Action = Last)'
          MenuItem '滚屏[&N]'                       'PCB:Zoom(Action = Pan)'
          MenuItem '刷新[&R]'                       'PCB:Zoom(Action = Redraw)'
          MenuItem SEPARATOR
          MenuItem '设计管理器[&M]'                  Client:ToggleDocumentManager
          MenuItem '状态栏[&S]'                      Client:ToggleClientStatusBar
          MenuItem '命令状态栏'                      Client:ToggleProcessStatusBar
          Popup '工具条[&B] {B}'
          Begin
               MenuItem '主工具条[&M]'               'Client:CustomizeResources(ToggleToolbar=PCBToolbar)'
               MenuItem '放置工具[&P]'               'Client:CustomizeResources(ToggleToolbar=PlacementTools)'
               MenuItem SEPARATOR
               MenuItem '定制[&C]...'                'Client:CustomizeResources(Tab=Toolbars)'
          End
          MenuItem SEPARATOR
          MenuItem '公英制切换[&U]'                   'PCB:DocumentPreferences(MeasurementUnit=Toggle)'                
     End
     Popup '放置[&P] {P}'
     Begin
          MenuItem '圆心弧[&A]'                     'PCB:PlaceArc($Description=在当前文档中放置圆心弧)'
          MenuItem '边圆弧[&E]'                     'PCB:PlaceArc(Method=Edge|$Description=在当前文档中放置边圆弧)'
          MenuItem '圆弧(任意角度[&N])'             'PCB:PlaceArc(Method=EdgeAnyAngle|$Description=在当前文档中放置任意角度的圆弧)'
          MenuItem '完整圆圈[&U]'                   'PCB:PlaceArc(Method=Circle|$Description=在当前文档中放置完整的圆圈)'
          MenuItem SEPARATOR
          MenuItem '填充[&F]'                       PCB:PlaceFill
          MenuItem '铜箔[&K]'                       'ManRoute:RunExternalManualRouter(mode = line|$Description=在当前文档中放置线段)'
          MenuItem '字串[&S]'                       PCB:PlaceString
          MenuItem '汉字[&H]'                       'Macro:RunMacro(designname=\font.ddb|documentname=documents\font.bas|language=clientbasic)'
          MenuItem '焊盘[&P]'                       PCB:PlacePad
          MenuItem '过孔[&V]'                       PCB:PlaceVia
          MenuItem SEPARATOR
          Popup '禁置[&K] {K}'
          Begin
              MenuItem '圆心弧[&A]'                 'PCB:PlaceArc(Keepout=True|$Description=放置禁置圆心弧)'
              MenuItem '边圆弧[&E]'                 'PCB:PlaceArc(Method=Edge|Keepout=True|$Description=放置禁置边圆弧)'
              MenuItem '圆弧(任意角度[&N])'         'PCB:PlaceArc(Method=EdgeAnyAngle|Keepout=True|$Description=放置禁置任意角度圆弧)'
              MenuItem '完整圆圈[&U]'               'PCB:PlaceArc(Method=Circle|Keepout=True|$Description=放置禁置圆圈)'
              MenuItem SEPARATOR
              MenuItem '填充[&F]'                   'PCB:PlaceFill(Keepout=True|$Description=放置禁置填充块)'
              MenuItem '铜箔[&K]'                   'ManRoute:RunExternalManualRouter(mode = line|Keepout=True|$Description=放置禁置铜箔线)'
          End
     End
     Popup '工具[&T] {T}'
     Begin
          MenuItem '新建元件[&C]'                   CompMake:RunWizard
          MenuItem '删除元件[&R]'                   PCB:DeleteComponentFromLibrary
          MenuItem '更名元件[&E]'                   PCB:ChangeComponentName
          MenuItem SEPARATOR
          MenuItem '下一只元件[&N]'                  PCB:NextComponent
          MenuItem '前一只元件[&R]'                 PCB:PreviousComponent      
          MenuItem '第一只元件[&F]'                  PCB:FirstComponent      
          MenuItem '最后一只元件[&L]'                PCB:LastComponent      
          MenuItem SEPARATOR
          MenuItem '板层叠压管理器[&K]...'           'PCB:EditInternalPlanes(LayerStack=True)'
          MenuItem '机械层[&M]...'                   'PCB:EditInternalPlanes(Mechanical=True)'
          MenuItem '封装库选项[&O]...'               'PCB:DocumentPreferences(Tab = Options)'
          MenuItem '参数选择[&P]...'                  PCB:SetupPreferences
     End
     Popup '报告[&R] {R}'
     Begin
          MenuItem '封装库状态[&L]...'               PCB:BoardInformation
          MenuItem SEPARATOR
          MenuItem '元件[&C]'                        'PCB:ReportBoardSpecs(ReportKind=Component)'
          MenuItem '元件规则检查[&R]...'             'PCB:ComponentRuleCheck'
          MenuItem '元件库[&L]'                      'PCB:ReportBoardSpecs(ReportKind=Library)'
          MenuItem SEPARATOR
          MenuItem '测量距离[&I]'                    PCB:MeasureDistance
          MenuItem '测量图元[&P]'                    'PCB:MeasureDistance (Primitives=True)'
     End
     Popup '窗口[&W] {W}'
     Begin
          MenuItem '平铺[&T]\tShift+F4'              Client:TileAllOpenDocuments
          MenuItem '层叠[&C]\tShift+F5'              Client:CascadeAllOpenDocuments
          MenuItem SEPARATOR
          MenuItem '水平平铺[&H]'                    'Client:TileAllOpenDocuments(Mode=Horizontal)'
          MenuItem '垂直平铺[&V]'                    'Client:TileAllOpenDocuments(Mode=Vertical)'
          MenuItem SEPARATOR
          MenuItem '排列为图标[&I]'                  Client:WindowArrangeIcons
          MenuItem '关闭全部[&A]'                    Client:CloseAllOpenDocuments
     End
     Popup '帮助[&H] {H}'
     Begin
          MenuItem '内容[&C]'                        'Client:RunHelpTopic(FileName=\Help\Protel.hlp|Topic=contents)'
          MenuItem '印制板主题[&P]'                  'Client:RunHelpTopic(FileName=\Help\pcbusr.hlp|Topic=Contents)'
          MenuItem SEPARATOR
          Popup '帮助在[&O]'
          Begin
               MenuItem '印制板元件[&C]'            'Client:RunHelpTopic(FileName=\Help\pcbusr.hlp|Topic=ComponentsAndLibraries)'
               MenuItem '印制板封装库[&B]'             'Client:RunHelpTopic(FileName=\Help\pcbusr.hlp|Topic=LibraryEditor)'
          End
          MenuItem '热键[&S]'                       'Client:RunHelpTopic(FileName=\Help\pcbusr.hlp|Topic=KeyboardShortcutsTips)'
          MenuItem '交叉参考[&R]'                   'Client:RunHelpTopic(FileName=\Help\AdvPCB.hlp | Topic=contents)'
          MenuItem SEPARATOR
          Popup '弹出[&P]'
          Begin
              Popup '靠齐网格[&G] {G}'
              Begin
                   MenuItem '1 Mil'                      'PCB:SnapGrid(Size=1Mil)'
                   MenuItem '5 Mil'                      'PCB:SnapGrid(Size=5Mil)'
                   MenuItem '10 Mil'                     'PCB:SnapGrid(Size=10Mil)'
                   MenuItem '20 Mil'                     'PCB:SnapGrid(Size=20Mil)'
                   MenuItem '25 Mil'                     'PCB:SnapGrid(Size=25Mil)'
                   MenuItem '50 Mil'                     'PCB:SnapGrid(Size=50Mil)'
                   MenuItem '100 Mil'                    'PCB:SnapGrid(Size=100Mil)'
                   MenuItem '0.025 mm'                   'PCB:SnapGrid(Size=0.025MM)'
                   MenuItem '0.100 mm'                   'PCB:SnapGrid(Size=0.100MM)'
                   MenuItem '0.250 mm'                   'PCB:SnapGrid(Size=0.250MM)'
                   MenuItem '0.500 mm'                   'PCB:SnapGrid(Size=0.500MM)'
                   MenuItem '1.000 mm'                   'PCB:SnapGrid(Size=1.000MM)'
                   MenuItem '2.500 mm'                   'PCB:SnapGrid(Size=2.500MM)'
                   MenuItem '其它[&O]...'                PCB:SnapGrid
              End
              Popup '选项[&O] {O}'
              Begin
                  MenuItem '封装库选项[&B]...'      'PCB:DocumentPreferences(Tab = Options)'
                  MenuItem '复制库板层[&L]...'      'PCB:DocumentPreferences(Tab = Layers)'
                  MenuItem '机械层[&M]...'          'PCB:EditInternalPlanes(Mechanical=True)'
                  MenuItem '板层叠压管理器[&K]...'  'PCB:EditInternalPlanes(LayerStack=True)'
                  MenuItem SEPARATOR
                  MenuItem '参数选择[&P]...'         'PCB:SetupPreferences(Tab = Options)'
                  MenuItem '显示[&Y]...'             'PCB:SetupPreferences(Tab = Display)'
                  MenuItem '颜色[&O]...'             'PCB:SetupPreferences(Tab = Colors)'
                  MenuItem '显示/隐藏[&D]...'        'PCB:SetupPreferences(Tab = Show/Hide)'
                  MenuItem '默认[&U]...'             'PCB:SetupPreferences(Tab = Defaults)'
              End
              Popup '缩放[&Z] {Z}'
              Begin
                  MenuItem '窗口[&W]'                 'PCB:Zoom(Action = Window)'
                  MenuItem '光标点[&P]'               'PCB:Zoom(Action = Point)'
                  MenuItem SEPARATOR
                  MenuItem '选择[&S]...'              PCB:Zoom
                  MenuItem SEPARATOR
                  MenuItem '放大[&I]'                 'PCB:Zoom(Action = In)'
                  MenuItem '缩小[&O]'                 'PCB:Zoom(Action = Out)'
                  MenuItem '滚屏[&N]'                 'PCB:Zoom(Action = Pan)'
                  MenuItem '重绘[&R]'                 'PCB:Zoom(Action = Redraw)'
                  MenuItem '当前[&T]'                 'PCB:Zoom(Action = RedrawCurrent)'
                  MenuItem '上次[&L]'                 'PCB:Zoom(Action = Last)'
                  MenuItem SEPARATOR
                  MenuItem '全部[&A]'                 'PCB:Zoom(Action = All)'
                  MenuItem '板框[&B]'                 'PCB:Zoom(Action = Board)'
              End
              Popup '鼠标右键[&R] {Right_Click}'
              Begin
                   Popup '放置[&P]'
                   Begin
                        MenuItem '弧[&A]'                            PCB:PlaceArc
                        MenuItem '坐标[&O]'                          PCB:PlaceCoordinate
                        MenuItem '尺寸[&D&M]'                        PCB:PlaceDimension
                        MenuItem '填充[&F]'                          PCB:PlaceFill
                        MenuItem '焊盘[&P]'                          PCB:PlacePad
                        MenuItem '字串[&S]'                          PCB:PlaceString
                        MenuItem '汉字[&H]'                          'Macro:RunMacro(designname=\font.ddb|documentname=documents\font.bas|language=clientbasic)'
                        MenuItem '铜箔[&K]'                          'ManRoute:RunExternalManualRouter(mode = line|$Description=在当前文档这放置线段)'
                        MenuItem '过孔[&V]'                          PCB:PlaceVia
                   End
                   Popup '工具[&T]'
                   Begin
                        MenuItem '新建元件[&C]'                   CompMake:RunWizard
                        MenuItem '删除元件[&R]'                   PCB:DeleteComponentFromLibrary
                        MenuItem '更名元件[&E]'                   PCB:ChangeComponentName
                        MenuItem SEPARATOR
                        MenuItem '下一只元件[&N]'                  PCB:NextComponent
                        MenuItem '前一只元件[&P]'                  PCB:PreviousComponent
                        MenuItem '第一只元件[&F]'                 PCB:FirstComponent
                        MenuItem '最后一只元件[&L]'                  PCB:LastComponent
                   End
                   Popup '查看[&V]'
                   Begin
                        MenuItem '适合文档[&D]'                    'PCB:Zoom(Action = Board)'
                        MenuItem '适合所有对象[&F]'                'PCB:Zoom(Action = All)'
                        MenuItem '选区[&A]'                        'PCB:Zoom(Action = Area)'
                        MenuItem '光标点[&A]'                      'PCB:Zoom(Action = Point)'
                        MenuItem SEPARATOR
                        MenuItem '放大[&I]'                        'PCB:Zoom(Action = In)'
                        MenuItem '缩小[&O]'                        'PCB:Zoom(Action = Out)'
                        MenuItem '上次缩放[&Z]'                    'PCB:Zoom(Action = Last)'
                        MenuItem '滚屏[&N]'                        'PCB:Zoom(Action = Pan)'
                        MenuItem '刷新[&R]'                        'PCB:Zoom(Action = Redraw)'
                   End
                        MenuItem SEPARATOR
                        MenuItem '封装库[&B]...'                   'PCB:DocumentPreferences(Tab = Options)'
                   Popup '选项[&S]'
                   Begin
                       MenuItem '封装库选项[&B]...'      'PCB:DocumentPreferences(Tab = Options)'
                       MenuItem '封装库板层[&L]...'      'PCB:DocumentPreferences(Tab = Layers)'
                       MenuItem '机械层[&M]...'          'PCB:EditInternalPlanes(Mechanical=True)'
                       MenuItem '板层叠压管理器[&K]...'  'PCB:EditInternalPlanes(LayerStack=True)'
                       MenuItem SEPARATOR
                       MenuItem '参数选择[&P]...'        'PCB:SetupPreferences(Tab = Options)'
                       MenuItem '显示[&Y]...'            'PCB:SetupPreferences(Tab = Display)'
                       MenuItem '颜色[&O]...'            'PCB:SetupPreferences(Tab = Colors)'
                       MenuItem '显示/隐藏[&D]...'       'PCB:SetupPreferences(Tab = Show/Hide)'
                       MenuItem '默认[&U]...'            'PCB:SetupPreferences(Tab = Defaults)'
                   End
                   MenuItem SEPARATOR
                   MenuItem '属性[&P]...'                        PCB:ChangeSingleObject
              End
          End
          MenuItem SEPARATOR
          MenuItem '关于[&S]'                                      Client:HelpAbout
     End
End

HotKeyTable 'PCBHotKeys'
Begin
     Key 'PCB:DocumentPreferences(ElectricalGridEnabled = Toggle)' E     Shift             EndKey
     Key PCB:Redo                                   Backspace           Ctrl               EndKey
     Key PCB:Undo                                   Backspace        Alt                   EndKey
     Key 'PCB:Select(Scope = ConnectedCopper)'      H                Ctrl                  EndKey
     Key PCB:SnapGrid                               G                Ctrl                  EndKey
     Key PCB:MeasureDistance                        M                Ctrl                  EndKey
     Key 'PCB:DocumentPreferences(Tab = Layers)'    L                Ctrl                  EndKey
     Key 'PCB:SetupPreferences(Tab = Show/Hide)'    D                Ctrl                  EndKey
     Key PCB:SetupPreferences                       O                Ctrl                  EndKey
     Key 'PCB:DocumentPreferences(Tab = Layers)'    L                                      EndKey
     Key 'PCB:DocumentPreferences(MeasurementUnit=Toggle)'   Q                             EndKey
     Key PCB:Undo                                   U                Ctrl                  EndKey
     Key 'PCB:Zoom(Action = Area)'                  Z                Ctrl                  EndKey
     Key 'Client:RunHelpTopic(FileName=\Help\Protel.hlp|Topic=contents)'   F1            EndKey
     Key Client:TileAllOpenDocuments                F4               Shift                 EndKey
     Key Client:CascadeAllOpenDocuments             F5               Shift                 EndKey
     Key 'PCB:Zoom(Action = In)'                    PgUp                                   EndKey
     Key 'PCB:Zoom(Action = Out)'                   PgDn                                   EndKey
     Key 'PCB:Zoom(Action = MicroIn)'               PgUp             Shift                 EndKey
     Key 'PCB:Zoom(Action = MicroOut)'              PgDn             Shift                 EndKey
     Key 'PCB:Zoom(ZoomLevel = 4.0)'                PgUp             Ctrl                  EndKey
     Key 'PCB:Zoom(Action = All)'                   PgDn             Ctrl                  EndKey
     Key 'PCB:SetCurrentLayer(LayerName = NextSignal)'        *                                      EndKey
     Key 'PCB:Zoom(Action = Pan)'                   Home                                   EndKey
     Key 'PCB:Zoom(Action = Redraw)'                End                                    EndKey
     Key 'PCB:Zoom(Action = RedrawCurrent)'         End              Alt                   EndKey
     Key 'PCB:Jump(Object = Absolute)'              Home             Ctrl                  EndKey
     Key 'PCB:Jump(Object = Relative)'              End              Ctrl                  EndKey
     Key 'PCB:MoveCursor(Position = Up10)'          Up               Shift                 EndKey
     Key 'PCB:MoveCursor(Position = Down10)'        Down             Shift                 EndKey
     Key 'PCB:MoveCursor(Position = Left10)'        Left             Shift                 EndKey
     Key 'PCB:MoveCursor(Position = Right10)'       Right            Shift                 EndKey
     Key 'PCB:MoveCursor(Position = Up)'            Up                                     EndKey
     Key 'PCB:MoveCursor(Position = Down)'          Down                                   EndKey
     Key 'PCB:MoveCursor(Position = Left)'          Left                                   EndKey
     Key 'PCB:MoveCursor(Position = Right)'         Right                                  EndKey
     Key 'PCB:PreviousComponent'                    Left             Ctrl                  EndKey
     Key 'PCB:NextComponent'                        Right            Ctrl                  EndKey
     Key 'PCB:SetCurrentLayer(LayerName = Next)'              +                            EndKey
     Key 'PCB:SetCurrentLayer(LayerName = Previous)'          -                            EndKey
     Key PCB:Paste                                  Insert           Shift                 EndKey
     Key 'PCB:Paste(OnCurrentLayer=True)'           Insert           Alt                   EndKey
     Key PCB:Copy                                   Insert           Ctrl                  EndKey
     Key PCB:Cut                                    Delete           Shift                 EndKey
     Key PCB:Clear                                  Delete           Ctrl                  EndKey
     Key PCB:Paste                                  V                Ctrl                  EndKey
     Key PCB:Copy                                   C                Ctrl                  EndKey
     Key PCB:Cut                                    X                Ctrl                  EndKey
     Key 'PCB:DeleteObjects(Object=FOCUSED)'        Delete                                 EndKey
     Key PCB:ToggleSingleObjectSelection            Left_Click     Shift                   EndKey
     Key 'PCB:ChangeObjectGraphicallyOrSetFocus(PCB28Mode=True)' Left_Click  Shift Ctrl    EndKey
     Key PCB:ChangeObjectGraphicallyOrSetFocus      Left_Click                             EndKey
     Key 'PCB:ChangeObjectGraphicallyOrSetFocus(PCB28Mode=True)' Left_Click Ctrl           EndKey
     Key PCB:ChangeObjectGraphically                            Left_Hold_Down             EndKey
     Key 'PCB:Zoom(Action=Slide)'                               Right_Hold_Down            EndKey
     Key 'PCB:ChangeObjectGraphically(Object=Group)'            Left_Hold_Down Ctrl        EndKey
     Key PCB:ChangeSingleObject                                 Left_Dbl_Click             EndKey
     Key 'PCB:ChangeSingleObject(Object=Group)'                 Left_Dbl_Click Ctrl        EndKey
     Key 'PCB:ChangeObjectGraphically(LaunchMethod=Hotkey)'           Return   Ctrl        EndKey
     Key 'PCB:ChangeObjectGraphicallyOrSetFocus(LaunchMethod=Hotkey)' Return               EndKey
     Key 'PCB:ChangeObjectGraphically(LaunchMethod=Hotkey)'           Return           Ctrl                     EndKey
     Key 'PCB:ChangeObjectGraphicallyOrSetFocus(LaunchMethod=Hotkey)' Return                                  EndKey
     Key 'PCB:ChangeObjectGraphicallyOrSetFocus(PCB28Mode=True)' Left_Click Ctrl           EndKey
     Key 'PCB:ChangeObjectGraphicallyOrSetFocus(PCB28Mode=True)' Left_Click  Shift Ctrl   EndKey
     Key 'PCB:DocumentPreferences(ElectricalGridEnabled = Toggle)' E     Shift            EndKey
     Key 'PCB:SetupPreferences(SingleLayerMode = Toggle)' S          Shift                 EndKey
     Key 'PCB:SetupPreferences(RoutingMode =Cycle)'R     Shift                 EndKey
End

Toolbar 'PCBToolbar' 'Fixed Top' 985 122
Begin
     Button 'PROJMAN.BMP'                           Client:ToggleDocumentManager
     Separator
     Button 'FILEOPEN.BMP'                          Client:OpenDocument
     Button 'FILESAVE.BMP'                          Client:SaveDocument
     Button 'PRINT.BMP'                             PCBPrint:PrintPreview
     Separator
     Button 'ZOOMIN.BMP'                           'PCB:Zoom(Action = In|$Description=显示当更少的前文档 - 高倍放大)'
     Button 'ZOOMOUT.BMP'                          'PCB:Zoom(Action = Out|$Description=显示更多的当前文档 - 高倍缩小))'
     Button 'ZOOMDOC.BMP'                          'PCB:Zoom(Action = All|$Description=显示整个文档)'
     Button 'ZOOMWIND.BMP'                         'PCB:Zoom(Action = Window|$Description=选择文档一个矩形区域并放大到整个窗口)'
     Button 'ZOOMSEL.BMP'                          'PCB:Zoom(Action = Selected|$Description=适合所有选择的对象)'
     Separator
     Button '3d.bmp'                                PCB3D:ViewPCB3D
     Separator
     Button 'CUT.BMP'                               PCB:Cut
     Button 'PASTE.BMP'                             PCB:Paste
     Button 'SELECTIN.BMP'                         'PCB:Select(Scope = InsideArea)'
     Button 'DESELALL.BMP'                         'PCB:DeSelect(Scope = All)'
     Button 'SELMOVE.BMP'                          'PCB:MoveObject(Object = Selection)'
     Separator
     Button 'XPROBE.BMP'                            'Client:CrossProbe(Repeat=False | FocusWindows=True)'
     Separator
     Button 'LIBRARY.BMP'                           PCB:AddRemoveLibraryInPCBEditor
     Button 'BROWSLIB.BMP'                          PCB:LibraryBrowse
     Separator
     Button 'SNAPGRID.BMP'                          PCB:SnapGrid
     Separator
     Button 'UNDO.BMP'                              PCB:Undo
     Button 'REDO.BMP'                              PCB:Redo
     Button 'HELP.BMP'                             'Client:RunHelpTopic(FileName=\Help\Protel.hlp|Topic=contents)'
End

Toolbar 'PCBLibToolbar' 'Fixed Top' 985 122
Begin
     Button 'PROJMAN.BMP'                           Client:ToggleDocumentManager
     Separator
     Button 'FILEOPEN.BMP'                          Client:OpenDocument
     Button 'FILESAVE.BMP'                          Client:SaveDocument
     Button 'PRINT.BMP'                             PCBPrint:PrintPreview
     Separator
     Button 'ZOOMIN.BMP'                           'PCB:Zoom(Action = In|$Description=显示更少的当前文档 - 高倍放大)'
     Button 'ZOOMOUT.BMP'                          'PCB:Zoom(Action = Out|$Description=显示更多的当前文档 - 高倍缩小))'
     Button 'ZOOMDOC.BMP'                          'PCB:Zoom(Action = All|$Description=适合整个文档)'
     Button 'ZOOMWIND.BMP'                         'PCB:Zoom(Action = Window|$Description=选择文档一个矩形区域并放大到整个窗口)'
     Separator
     Button 'CUT.BMP'                               PCB:Cut
     Button 'PASTE.BMP'                             PCB:Paste
     Button 'SELECTIN.BMP'                         'PCB:Select(Scope = InsideArea)'
     Button 'DESELALL.BMP'                         'PCB:DeSelect(Scope = All)'
     Button 'SELMOVE.BMP'                          'PCB:MoveObject(Object = Selection)'
     Separator
     Button 'SNAPGRID.BMP'                          PCB:SnapGrid
     Separator
     Button 'UNDO.BMP'                              PCB:Undo
     Button 'REDO.BMP'                              PCB:Redo
     Button 'HELP.BMP'                             'Client:RunHelpTopic(FileName=\Help\Protel.hlp|Topic=contents)'
End

Toolbar 'PlacementTools' 'Floating' 100 200
Begin
     Button 'TRACK.BMP'                            'ManRoute:RunExternalManualRouter($Description=交互式布线连接)'
     Button 'Wire.BMP'                             'ManRoute:RunExternalManualRouter(mode = line|$Description=在当前文档中放置线段)'
     Button 'PAD.BMP'                               PCB:PlacePad
     Button 'VIA.BMP'                               PCB:PlaceVia
     Button 'TEXT.BMP'                              PCB:PlaceString
     Button 'COORD.BMP'                             PCB:PlaceCoordinate
     Button 'DIMENS.BMP'                            PCB:PlaceDimension
     Button 'ORIGIN.BMP'                            PCB:SetOrigin
     Button 'ROOM.BMP'                              PCB:PlaceRoom
     Separator
     Button 'COMP.BMP'                              PCB:PlaceComponent
     Button 'ARCEDGE.BMP'                          'PCB:PlaceArc(Method=Edge|$Description=在当前文档中放置边圆弧)'
     Button 'ARCENTER.BMP'                         'PCB:PlaceArc($Description=在当前文档中放置圆心弧)'
     Button 'ARCEDGEANY.BMP'                       'PCB:PlaceArc(Method=EdgeAnyAngle|$Description=在当前文档中放置任意角度圆弧)'
     Button 'ARCCIRCLE.BMP'                        'PCB:PlaceArc(Method=Circle|$Description=在当前文档中放置圆圈)'
     Button 'RECT.BMP'                              PCB:PlaceFill
     Button 'POLYPLN.BMP'                           PCB:PlacePolygonPlane
     Button 'SPLITPLN.BMP'                          PCB:PlaceSplitPlane
     Button 'ARRAY.BMP'                            'PCB:Paste(Array=True|$Description=定义剪贴板内容的批量放置)'
End

Toolbar 'PCBLibPlacementTools' 'Floating' 100 200
Begin
     Button 'WIRE.BMP'                             'ManRoute:RunExternalManualRouter(mode = line|$Description=在当前文档中放置线段)'
     Button 'PAD.BMP'                               PCB:PlacePad
     Button 'VIA.BMP'                               PCB:PlaceVia
     Button 'TEXT.BMP'                              PCB:PlaceString
     Button 'COORD.BMP'                             PCB:PlaceCoordinate
     Button 'DIMENS.BMP'                            PCB:PlaceDimension
     Separator
     Button 'ARCEDGE.BMP'                          'PCB:PlaceArc(Method=Edge|$Description=在当前文档中放置边圆弧)'
     Button 'ARCENTER.BMP'                         'PCB:PlaceArc($Description=在当前文档中放置圆心弧)'
     Button 'ARCEDGEANY.BMP'                       'PCB:PlaceArc(Method=EdgeAnyAngle|$Description=在当前文档中放置任意角度圆弧)'
     Button 'ARCCIRCLE.BMP'                        'PCB:PlaceArc(Method=Circle|$Description=在当前文档中放置圆圈)'
     Button 'RECT.BMP'                              PCB:PlaceFill
     Button 'ARRAY.BMP'                            'PCB:Paste(Array=True|$Description=定义剪贴板内容的批量放置)'
End

ToolBar 'ComponentPlacement' 'Floating' 100 300
Begin
     Button 'LEFT.BMP'                             'PCB:AlignComponents(Alignment=Left|$Description=对齐选择元件的左边)'
     Button 'HORCENTER.BMP'                        'PCB:AlignComponents(Alignment=CenterHorizontal|$Description=对齐选择元件的水平中心)'
     Button 'RIGHT.BMP'                            'PCB:AlignComponents(Alignment=Right|$Description=对齐选择元件的右边)'
     Button 'SpaceEQHor.bmp'                       'PCB:AlignComponents(Alignment=SpreadHorizontal|$Description=使选择元件的水平间距相等)'
     Button 'ExpandHor.bmp'                        'PCB:AlignComponents(Alignment=ExpandHorizontal|$Description=增加选择元件的水平间距)'
     Button 'Contracthor.bmp'                      'PCB:AlignComponents(Alignment=ContractHorizontal|$Description=减小选择元件的水平间距)'
     Separator
     Button 'TOP.BMP'                              'PCB:AlignComponents(Alignment=Top|$Description=对齐选择元件的顶部)'
     Button 'VERTCENTER.BMP'                       'PCB:AlignComponents(Alignment=CenterVertical|$Description=对齐选择元件的垂直中心)'
     Button 'BOTTOM.BMP'                           'PCB:AlignComponents(Alignment=Bottom|$Description=对齐选择元件的底部)'
     Button 'SpaceEQVert.bmp'                      'PCB:AlignComponents(Alignment=SpreadVertical|$Description=使选择元件的垂直间距相等)'
     Button 'ExpandVert.bmp'                       'PCB:AlignComponents(Alignment=ExpandVertical|$Description=增加选择元件的垂直间距)'
     Button 'ContractVert.bmp'                     'PCB:AlignComponents(Alignment=ContractVertical|$Description=减小选择元件的垂直间距)'
     Separator
     Button 'ArrangeToRoom.bmp'                    'PCB:ArrangeComponents(Action=ArrangeWithinRoom|$Description=排列 room 内部的元件)'
     Button 'ArrangeToRect.bmp'                    'PCB:ArrangeComponents(Action=ArrangeWithinRectangle|$Description=排列选择区内的元件)'
     Button 'ToGrid.bmp'                           'PCB:AlignComponents(Alignment=MoveToGrid|$Description=移动选择的元件到网格)'
     Button 'CREATEUNION.BMP'                      'PCB:GroupPrimitives(Action=CreateComponentUnion|$Description=从选择的元件创建连接头)'
     Button 'BREAKUNION.BMP'                       'PCB:GroupPrimitives(Action=BreakComponentUnion|$Description=从连接头折断元件)'
     Button 'DLGEDITR.bmp'                         'PCB:AlignComponents($Description=圆心元件排列对话)'
End


ToolBar 'FindSelections' 'Floating' 350 200 
Begin
     Button 'firstsel.BMP'                         'PCB:Jump(Object=SELECTED|Type=FIRST|$Description=跳到第一个选择的图元)'
     Button 'prevsel.BMP'                          'PCB:Jump(Object=Selected|Type=Previous|$Description=跳到前一个选择的图元)'
     Button 'nextsel.BMP'                          'PCB:Jump(Object=Selected|Type=Next|$Description=跳到下一个选择的图元)'
     Button 'lastsel.BMP'                          'PCB:Jump(Object=Selected|Type=Last|$Description=跳到最后选择的图元)'
     Separator
     Button 'firstgroupsel.BMP'                    'PCB:Jump(Object=Selected|Type=FIRSTGROUP|$Description=跳到第一个选择的组 - 元件, 坐标, 尺寸标注, 多边形, 网络)'
     Button 'prevgroupsel.BMP'                     'PCB:Jump(Object=Selected|Type=PREVIOUSGROUP|$Description=跳到前一个选择的组 - 元件, 坐标, 尺寸标注, 多边形, 网络)'
     Button 'nextgroupsel.BMP'                     'PCB:Jump(Object=Selected|Type=NEXTGROUP|$Description=跳到下一个选择的组 - 元件, 坐标, 尺寸标注, 多边形, 网络)'
     Button 'lastgroupsel.BMP'                     'PCB:Jump(Object=Selected|Type=LASTGROUP|$Description=跳到最后选择的元件, 坐标, 尺寸标注, 多边形, 网络)'
End

