Menu 'PlacerMenu'
Begin
     Popup '文件[&F] {F}'
     Begin
          MenuItem '新建[&N]'                             Client:CreateNewDocument
          MenuItem '打开[&O]...'                         Client:OpenDocument
          MenuItem '关闭/停止[&C]'                      Placer:StopAutoPlacer
          MenuItem SEPARATOR
          MenuItem '更新印制板[&U]'                      Placer:UpdateClientPCBDocument
          MenuItem SEPARATOR
          MenuItem '退出[&X]'                            Client:QuitFromEDAClient
     End
     Popup '查看[&V] {V}'
     Begin
          MenuItem '进度图'                   Placer:ViewProgressChart                     
          MenuItem SEPARATOR
          MenuItem '设计管理器[&M]'                  Client:ToggleDocumentManager
          MenuItem '状态栏[&S]'                      Client:ToggleClientStatusBar
          MenuItem '命令状态栏'                   Client:ToggleProcessStatusBar
     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|$Description=帮助系统主题索引)'
          MenuItem SEPARATOR
          MenuItem '全局自动放置[&G]'    'Client:RunHelpTopic(FileName=\Help\PcbUsr.hlp|Topic=RunningTheGlobalAutoplacer)'
          MenuItem SEPARATOR
          MenuItem '关于[&S]'                        Client:HelpAbout
     End
End

Toolbar 'Placer' 'Fixed Top' 13 1
Begin
     Button PROJMAN                                   Client:ToggleDocumentManager
     Button FILEOPEN                                  Client:OpenDocument
     Button HELP                                     'Client:RunHelpTopic(FileName=\help\Protel.hlp|Topic=contents|$Description=帮助系统主题索引)'
End

HotKeyTable 'PlacerHotKeyTable'
Begin
    Key 'Client:RunHelpTopic(FileName=\help\Protel.hlp|Topic=contents)'             F1        EndKey
    Key 'Macro :RunMacro(FileName=RunProc.trp|Language=ClientPascal)'         P  Ctrl   EndKey
    Key  Client:ToggleMaxmizeRestoreWindow                                    F5        EndKey
End
