mirror of https://github.com/tongzx/nt5src
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
69 lines
3.5 KiB
#include "resourc2.h"
|
|
|
|
PID_SS_SharedAccessServices DIALOGEX 0, 0, 227, 215
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "Services"
|
|
FONT 8, "MS Shell Dlg", 0, 0, 0x1
|
|
BEGIN
|
|
LTEXT "&Select the services running on your network that Internet users can access.",
|
|
IDC_STATIC,7,7,213,16
|
|
LTEXT "Services:",IDC_STATIC,7,27,27,8
|
|
CONTROL "List1",CID_SS_LV_Services,"SysListView32",LVS_REPORT |
|
|
LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_SORTASCENDING |
|
|
LVS_OWNERDRAWFIXED | LVS_NOCOLUMNHEADER | WS_BORDER |
|
|
WS_TABSTOP,7,37,213,155,WS_EX_CLIENTEDGE
|
|
PUSHBUTTON "A&dd...",CID_SS_PB_Add,7,197,67,14
|
|
PUSHBUTTON "Edi&t...",CID_SS_PB_Edit,80,197,67,14
|
|
PUSHBUTTON "D&elete",CID_SS_PB_Delete,153,197,67,14
|
|
END
|
|
|
|
DID_SS_Service DIALOG DISCARDABLE 0, 0, 217, 164
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "Service Settings"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
LTEXT "&Description of service:",IDC_STATIC,7,7,203,8
|
|
EDITTEXT CID_SS_EB_Service,7,17,203,14,ES_AUTOHSCROLL
|
|
LTEXT "&Name or IP address (for example 192.168.0.12) of the computer hosting this service on your network:",
|
|
IDC_STATIC,7,37,178,16
|
|
EDITTEXT CID_SS_EB_Address,7,55,203,14,ES_AUTOHSCROLL
|
|
LTEXT "&External Port number for this service:",IDC_STATIC,7,
|
|
85,203,8
|
|
EDITTEXT CID_SS_EB_ExternalPort,7,95,113,14,ES_AUTOHSCROLL | ES_NUMBER
|
|
CONTROL "&TCP",CID_SS_PB_Tcp,"Button",BS_AUTORADIOBUTTON,128,97,
|
|
30,10
|
|
CONTROL "&UDP",CID_SS_PB_Udp,"Button",BS_AUTORADIOBUTTON,166,97,
|
|
31,10
|
|
LTEXT "&Internal Port number for this service:",IDC_STATIC,7,
|
|
110,203,8
|
|
EDITTEXT CID_SS_EB_InternalPort,7,120,113,14,ES_AUTOHSCROLL | ES_NUMBER
|
|
DEFPUSHBUTTON "OK",IDOK,105,143,50,14
|
|
PUSHBUTTON "Cancel",IDCANCEL,160,143,50,14
|
|
END
|
|
|
|
PID_SS_PleaseWait DIALOGEX 0, 0, 100, 25
|
|
STYLE WS_POPUP | NOT WS_CAPTION
|
|
EXSTYLE WS_EX_DLGMODALFRAME
|
|
FONT 8, "MS Shell Dlg", 0, 0, 0x1
|
|
BEGIN
|
|
CTEXT "Please wait.",IDC_STATIC,7,7,86,16
|
|
END
|
|
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
SID_PopupTitle "Network Connections"
|
|
SID_NoModifySelection "Please select the entry to be modified."
|
|
SID_NoDeleteSelection "Please select the entry to be deleted."
|
|
SID_DuplicatePortNumber "The port number is already used by another entry.\nPlease enter a unique port number."
|
|
SID_TypePortNumber "Please type a port number between 1 and 65535."
|
|
SID_SS_TypeAddress "Please type the IP address of the server computer on the private network."
|
|
SID_TypeEntryName "Please type a name for the entry."
|
|
END
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
SID_OP_GenericPortMappingError "Configuration of port mappings failed."
|
|
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."
|
|
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."
|
|
END
|