Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

69 lines
3.5 KiB

  1. #include "resourc2.h"
  2. PID_SS_SharedAccessServices DIALOGEX 0, 0, 227, 215
  3. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  4. CAPTION "Services"
  5. FONT 8, "MS Shell Dlg", 0, 0, 0x1
  6. BEGIN
  7. LTEXT "&Select the services running on your network that Internet users can access.",
  8. IDC_STATIC,7,7,213,16
  9. LTEXT "Services:",IDC_STATIC,7,27,27,8
  10. CONTROL "List1",CID_SS_LV_Services,"SysListView32",LVS_REPORT |
  11. LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_SORTASCENDING |
  12. LVS_OWNERDRAWFIXED | LVS_NOCOLUMNHEADER | WS_BORDER |
  13. WS_TABSTOP,7,37,213,155,WS_EX_CLIENTEDGE
  14. PUSHBUTTON "A&dd...",CID_SS_PB_Add,7,197,67,14
  15. PUSHBUTTON "Edi&t...",CID_SS_PB_Edit,80,197,67,14
  16. PUSHBUTTON "D&elete",CID_SS_PB_Delete,153,197,67,14
  17. END
  18. DID_SS_Service DIALOG DISCARDABLE 0, 0, 217, 164
  19. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  20. CAPTION "Service Settings"
  21. FONT 8, "MS Shell Dlg"
  22. BEGIN
  23. LTEXT "&Description of service:",IDC_STATIC,7,7,203,8
  24. EDITTEXT CID_SS_EB_Service,7,17,203,14,ES_AUTOHSCROLL
  25. LTEXT "&Name or IP address (for example 192.168.0.12) of the computer hosting this service on your network:",
  26. IDC_STATIC,7,37,178,16
  27. EDITTEXT CID_SS_EB_Address,7,55,203,14,ES_AUTOHSCROLL
  28. LTEXT "&External Port number for this service:",IDC_STATIC,7,
  29. 85,203,8
  30. EDITTEXT CID_SS_EB_ExternalPort,7,95,113,14,ES_AUTOHSCROLL | ES_NUMBER
  31. CONTROL "&TCP",CID_SS_PB_Tcp,"Button",BS_AUTORADIOBUTTON,128,97,
  32. 30,10
  33. CONTROL "&UDP",CID_SS_PB_Udp,"Button",BS_AUTORADIOBUTTON,166,97,
  34. 31,10
  35. LTEXT "&Internal Port number for this service:",IDC_STATIC,7,
  36. 110,203,8
  37. EDITTEXT CID_SS_EB_InternalPort,7,120,113,14,ES_AUTOHSCROLL | ES_NUMBER
  38. DEFPUSHBUTTON "OK",IDOK,105,143,50,14
  39. PUSHBUTTON "Cancel",IDCANCEL,160,143,50,14
  40. END
  41. PID_SS_PleaseWait DIALOGEX 0, 0, 100, 25
  42. STYLE WS_POPUP | NOT WS_CAPTION
  43. EXSTYLE WS_EX_DLGMODALFRAME
  44. FONT 8, "MS Shell Dlg", 0, 0, 0x1
  45. BEGIN
  46. CTEXT "Please wait.",IDC_STATIC,7,7,86,16
  47. END
  48. STRINGTABLE DISCARDABLE
  49. BEGIN
  50. SID_PopupTitle "Network Connections"
  51. SID_NoModifySelection "Please select the entry to be modified."
  52. SID_NoDeleteSelection "Please select the entry to be deleted."
  53. SID_DuplicatePortNumber "The port number is already used by another entry.\nPlease enter a unique port number."
  54. SID_TypePortNumber "Please type a port number between 1 and 65535."
  55. SID_SS_TypeAddress "Please type the IP address of the server computer on the private network."
  56. SID_TypeEntryName "Please type a name for the entry."
  57. END
  58. STRINGTABLE DISCARDABLE
  59. BEGIN
  60. SID_OP_GenericPortMappingError "Configuration of port mappings failed."
  61. SID_OP_OurGatewayError "The Internet Connection Sharing computer is not configured to let network users control or disable the shared Internet connection.\n\nThis setting can be changed in the Advanced Properties of the shared connection on the Internet Connection Sharing computer."
  62. SID_OP_TheirGatewayError "The Internet Gateway did not accept your changes.\n\nIf the problem persists, you must change Internet gateway settings directly, usually by using the Web interface for the gateway.\n\nFor more information, contact the Internet gateway manufacturer."
  63. END