en.rc

来自「一个类似windows」· RC 代码 · 共 221 行

RC
221
字号
IDR_MAINMENU MENU
BEGIN
  POPUP "&File"
  BEGIN
    MENUITEM "Export...",   ID_EXPORT
    MENUITEM SEPARATOR
    MENUITEM "E&xit",       ID_EXIT
  END
  POPUP "Action"
  BEGIN
    MENUITEM "Connect to...", ID_NET_CON, GRAYED
    MENUITEM SEPARATOR
    MENUITEM "Start",       ID_START, GRAYED
    MENUITEM "Stop",        ID_STOP, GRAYED
    MENUITEM "Pause",       ID_PAUSE, GRAYED
    MENUITEM "Resume",      ID_RESUME, GRAYED
    MENUITEM "Restart",     ID_RESTART, GRAYED
    MENUITEM SEPARATOR
    MENUITEM "Refresh",     ID_REFRESH
    MENUITEM SEPARATOR
    MENUITEM "Edit...", ID_EDIT, GRAYED
    MENUITEM "Create...",   ID_CREATE
    MENUITEM "Delete...",   ID_DELETE, GRAYED
    MENUITEM SEPARATOR
    MENUITEM "Properties...", ID_PROP, GRAYED
  END
  POPUP "View"
  BEGIN
    MENUITEM "Large Icons", ID_VIEW_LARGE
    MENUITEM "Small Icons", ID_VIEW_SMALL
    MENUITEM "List",        ID_VIEW_LIST
    MENUITEM "Details",     ID_VIEW_DETAILS
    MENUITEM SEPARATOR
    MENUITEM "Customize...",ID_VIEW_CUSTOMIZE, GRAYED
  END
  POPUP "Help"
  BEGIN
    MENUITEM "About...",    ID_ABOUT
  END
END
IDR_POPUP MENU
BEGIN
  POPUP "popup"
  BEGIN
    MENUITEM "Start",       ID_START, GRAYED
    MENUITEM "Stop",        ID_STOP, GRAYED
    MENUITEM "Pause",       ID_PAUSE, GRAYED
    MENUITEM "Resume",      ID_RESUME, GRAYED
    MENUITEM "Restart",     ID_RESTART, GRAYED
    MENUITEM SEPARATOR
    MENUITEM "Refresh",     ID_REFRESH
    MENUITEM SEPARATOR
    MENUITEM "Edit...", ID_EDIT, GRAYED
    MENUITEM "Delete...",   ID_DELETE, GRAYED
    MENUITEM SEPARATOR
    MENUITEM "Properties...", ID_PROP, GRAYED
    MENUITEM SEPARATOR
    MENUITEM "Help...",     ID_HELP
  END
END

IDD_ABOUTBOX DIALOGEX 22,16,190,182
CAPTION "About Service Manager"
FONT 8,"Tahoma",0,0
STYLE WS_BORDER | WS_DLGFRAME | WS_SYSMENU | DS_MODALFRAME
BEGIN
  LTEXT "Service Manager v0.5\nCopyright (C) 2005-2006\nby Ged Murphy (gedmurphy@gmail.com)", IDC_STATIC, 48, 7, 130, 26
  PUSHBUTTON "Close", IDOK, 75, 162, 44, 15
  ICON IDI_SM_ICON, IDC_STATIC, 10, 10, 7, 30
  EDITTEXT IDC_LICENSE_EDIT, 8, 44, 174, 107, WS_VISIBLE | WS_VSCROLL | WS_TABSTOP | ES_READONLY | ES_MULTILINE
END

IDD_DLG_GENERAL DIALOGEX 6,6,253,225
CAPTION "General"
FONT 8,"Tahoma",0,0
STYLE WS_BORDER | WS_VISIBLE | WS_DLGFRAME | WS_SYSMENU | WS_THICKFRAME | WS_GROUP | WS_TABSTOP
BEGIN
  LTEXT "", IDC_SERV_NAME, 70,11,176,11, WS_CHILD | WS_VISIBLE
  EDITTEXT IDC_DISP_NAME, 70, 29, 176, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP | ES_READONLY
  EDITTEXT IDC_DESCRIPTION, 70, 46, 176, 24, WS_CHILD | WS_VISIBLE | WS_VSCROLL | WS_TABSTOP | ES_MULTILINE | ES_READONLY
  EDITTEXT IDC_EXEPATH, 6, 86, 240, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP | ES_READONLY
  CONTROL "",IDC_START_TYPE,"ComboBox",0x50010003,70,107,176,40
  PUSHBUTTON "Start", IDC_START, 6, 155, 54, 15, WS_DISABLED
  PUSHBUTTON "Stop", IDC_STOP, 68, 155, 54, 15, WS_DISABLED
  PUSHBUTTON "Pause", IDC_PAUSE , 130, 155, 54, 15, WS_DISABLED
  PUSHBUTTON "Resume", IDC_RESUME, 192, 155, 54, 15, WS_DISABLED
  LTEXT "Service name:", IDC_STATIC, 4, 11, 53, 11
  LTEXT "Display name:", IDC_STATIC, 4, 29, 53, 11
  LTEXT "Description:", IDC_STATIC, 4, 51, 53, 11
  LTEXT "Path to executable:", IDC_STATIC, 6, 73, 82, 9
  LTEXT "Startup type:", IDC_STATIC, 6, 108, 53, 11
  LTEXT "Service status:", IDC_STATIC, 4, 138, 53, 11
  CONTROL "",IDC_SERV_STATUS,"Static",0x50000000,70,138,176,11
  LTEXT "You can specify the start parameters that apply when you start the service from here.",IDC_STATIC, 6,177,240,15
  LTEXT "Start parameters:", IDC_STATIC, 6, 200, 58, 11
  EDITTEXT IDC_START_PARAM, 68, 199, 178, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
END

IDD_DLG_DEPEND DIALOGEX 6,6,253,225
CAPTION "Dependencies"
FONT 8,"Tahoma",0,0
STYLE WS_BORDER | WS_VISIBLE | WS_DLGFRAME | WS_SYSMENU | WS_THICKFRAME | WS_GROUP | WS_TABSTOP
BEGIN
  CONTROL "",IDC_DEPEND_TREE1,"SysTreeView32",0x50010007,8,70,236,68,0x00000200
  CONTROL "",IDC_DEPEND_TREE2,"SysTreeView32",0x50010007,8,151,234,67,0x00000200
  LTEXT "Some services depend on other services, system drivers and load order groups. If a system component is stopped or it is not running properly, dependant services can be affected.", IDC_STATIC,8, 7, 238, 26
  LTEXT "This service depends on the following components", IDC_STATIC, 8, 57, 236, 9
  LTEXT "", IDC_DEPEND_SERVICE, 8, 38, 236, 13
END

IDD_DLG_CREATE DIALOGEX 6,6,225,209
CAPTION "Create a service"
FONT 8,"Tahoma",0,0
STYLE WS_BORDER | WS_VISIBLE | WS_DLGFRAME | WS_SYSMENU | WS_THICKFRAME | WS_GROUP | WS_TABSTOP
BEGIN
  CONTROL "",IDC_CREATE_SERVNAME,"Edit",0x50010000,72,12,150,11,0x00000200
  CONTROL "",IDC_CREATE_DISPNAME,"Edit",0x50010000,72,31,150,11,0x00000200
  CONTROL "",IDC_CREATE_PATH,"Edit",0x50010000,8,62,214,13,0x00000200
  CONTROL "",IDC_CREATE_DESC,"Edit",0x50010000,10,97,210,48,0x00000200
  CONTROL "",IDC_CREATE_OPTIONS,"Edit",0x50010000,10,162,210,13,0x00000200
  CONTROL "*Service Name :",IDC_STATIC,"Static",0x50000202,12,12,54,9
  CONTROL "*Display Name :",IDC_STATIC,"Static",0x50000202,12,33,54,9
  CONTROL "*Path to executable :",IDC_STATIC,"Static",0x50000000,10,51,68,9
  CONTROL "Description :",IDC_STATIC,"Static",0x50000000,12,86,44,9
  CONTROL "OK",IDOK,"Button",0x50010000,126,192,44,13
  CONTROL "Cancel",IDCANCEL,"Button",0x50010000,176,192,46,13
  CONTROL "Additional options (click help for details)",IDC_STATIC,"Static",0x50000000,10,151,134,9
  CONTROL "Help",ID_CREATE_HELP,"Button",0x50010000,6,192,44,13
END

IDD_DLG_DELETE DIALOGEX 6,6,185,148
CAPTION "Delete a service"
FONT 8,"Tahoma",0,0
STYLE WS_BORDER | WS_DLGFRAME | DS_MODALFRAME
BEGIN
  ICON IDI_WARNING, IDC_STATIC, 10, 8, 24, 22
  LTEXT "Are you sure you want to delete the following service? This cannot be undone once removed!", IDC_STATIC, 50, 6, 125, 25
  LTEXT "Service Name:",IDC_STATIC, 6, 40, 80, 9
  LTEXT "", IDC_DEL_NAME, 15, 53, 160, 15
  EDITTEXT IDC_DEL_DESC, 6, 73, 174, 48, WS_CHILD | WS_VISIBLE | WS_VSCROLL | WS_EX_STATICEDGE | ES_MULTILINE | ES_READONLY
  PUSHBUTTON "Yes", IDOK, 26, 129, 54, 13
  PUSHBUTTON "No", IDCANCEL, 102, 129, 54, 13
END

IDD_DLG_HELP_OPTIONS DIALOGEX 6,6,200,150
CAPTION "Options"
FONT 8,"MS Sans Serif",0,0
STYLE 0x10CF0000
BEGIN
  LTEXT "", IDC_CREATE_HELP, 6, 5, 200, 150
  PUSHBUTTON "Ok", IDOK, 75, 130, 44, 13
END

IDD_DLG_PROGRESS DIALOGEX 6,6,255,89
CAPTION "Service Control"
FONT 8,"MS Sans Serif",0,0
STYLE WS_BORDER | WS_DLGFRAME | WS_SYSMENU | DS_MODALFRAME
EXSTYLE WS_EX_TOOLWINDOW
BEGIN
  CONTROL "",IDC_SERVCON_PROGRESS,"msctls_progress32",0x50000000,8,46,238,13
  LTEXT "", IDC_SERVCON_INFO, 8, 5, 236, 11
  LTEXT "", IDC_SERVCON_NAME, 8, 25, 66, 11
  PUSHBUTTON "&Close", IDOK, 100, 70, 54, 13
END


IDB_BUTTONS BITMAP DISCARDABLE "res/toolbar.bmp"


STRINGTABLE DISCARDABLE
BEGIN
  IDS_FIRSTCOLUMN "Name"
  IDS_SECONDCOLUMN "Description"
  IDS_THIRDCOLUMN "Status"
  IDS_FOURTHCOLUMN "Startup Type"
  IDS_FITHCOLUMN "Log On As"
END

STRINGTABLE DISCARDABLE
BEGIN
  IDS_SERVICES_STARTED "Started"
  IDS_SERVICES_STOPPED "Stopped"
  IDS_SERVICES_AUTO "Automatic"
  IDS_SERVICES_MAN "Manual"
  IDS_SERVICES_DIS "Disabled"
END

STRINGTABLE DISCARDABLE
BEGIN
  IDS_NUM_SERVICES "Num Services: %d"
  IDS_LICENSE "This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.\r\n\r\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.\r\n\r\nYou should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA."
END

STRINGTABLE DISCARDABLE
BEGIN
  IDS_TOOLTIP_PROP "Properties"
  IDS_TOOLTIP_REFRESH "Refresh"
  IDS_TOOLTIP_EXPORT "Export list"
  IDS_TOOLTIP_START "Start service"
  IDS_TOOLTIP_STOP "Stop service"
  IDS_TOOLTIP_PAUSE "Pause service"
  IDS_TOOLTIP_RESTART "Restart service"
  IDS_TOOLTIP_NEW "Create a new service"
  IDS_TOOLTIP_HELP "Help"
  IDS_TOOLTIP_EXIT "Exit"
END

STRINGTABLE DISCARDABLE
BEGIN
  IDS_PROGRESS_INFO_START "ReactOS is attempting to start the following service"
  IDS_PROGRESS_INFO_STOP  "ReactOS is attempting to stop the following service"
  IDS_CREATE_SUCCESS "Service Created Succesfully"
  IDS_CREATE_REQ "* = required fields"
  IDS_DELETE_STOP "You must manually stop the service before deleting!"
END

STRINGTABLE DISCARDABLE
BEGIN
  IDS_HELP_OPTIONS "CREATE OPTIONS:\r\nNOTE: The option name includes the equal sign.\r\n type= <own|share|interact|kernel|filesys|rec>\r\n       (default = own)\r\n start= <boot|system|auto|demand|disabled>\r\n       (default = demand) \r\n error= <normal|severe|critical|ignore>\r\n       (default = normal)\r\n group= <LoadOrderGroup>\r\n tag= <yes|no>\r\n depend= <Dependencies(separated by / (forward slash))>\r\n obj= <AccountName|ObjectName>\r\n       (default = LocalSystem)\r\n password= <password>\r\n"
END

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?