-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathTcpTestTool.rc
252 lines (216 loc) · 15 KB
/
TcpTestTool.rc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
// Microsoft Visual C++ generated resource script.
//
#include "resource.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#ifndef APSTUDIO_INVOKED
#include "targetver.h"
#endif
#include "afxres.h"
#include "verrsrc.h"
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
// 中文(简体,中国) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS)
LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//
1 TEXTINCLUDE
BEGIN
"resource.h\0"
END
2 TEXTINCLUDE
BEGIN
"#ifndef APSTUDIO_INVOKED\r\n"
"#include ""targetver.h""\r\n"
"#endif\r\n"
"#include ""afxres.h""\r\n"
"#include ""verrsrc.h""\r\n"
"\0"
END
3 TEXTINCLUDE
BEGIN
"#define _AFX_NO_SPLITTER_RESOURCES\r\n"
"#define _AFX_NO_OLE_RESOURCES\r\n"
"#define _AFX_NO_TRACKER_RESOURCES\r\n"
"#define _AFX_NO_PROPERTY_RESOURCES\r\n"
"\r\n"
"#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS)\r\n"
"LANGUAGE 4, 2\r\n"
"#include ""res\\TcpTestTool.rc2"" // 非 Microsoft Visual C++ 编辑的资源\r\n"
"#include ""l.CHS\\afxres.rc"" // 标准组件\r\n"
"#if !defined(_AFXDLL)\r\n"
"#include ""l.CHS\\afxribbon.rc"" // MFC 功能区和控制条资源\r\n"
"#endif\r\n"
"#endif\r\n"
"\0"
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Icon
//
// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDR_MAINFRAME ICON "res\\TcpTestTool.ico"
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "关于 TcpTestTool"
FONT 9, "MS Shell Dlg", 0, 0, 0x1
BEGIN
ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20
LTEXT "TcpTestTool,1.0 版",IDC_STATIC,42,14,114,8,SS_NOPREFIX
LTEXT "Copyright (C) 2017",IDC_STATIC,42,26,114,8
DEFPUSHBUTTON "确定",IDOK,113,41,50,14,WS_GROUP
END
IDD_TCPTESTTOOL_DIALOG DIALOGEX 0, 0, 646, 363
STYLE DS_SETFONT | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME
EXSTYLE WS_EX_APPWINDOW
CAPTION "TcpTestTool(OOMS)"
FONT 9, "MS Shell Dlg", 0, 0, 0x1
BEGIN
GROUPBOX "设置区",IDC_STATIC,7,7,153,349
CONTROL "",IDC_LIST1,"SysListView32",LVS_REPORT | LVS_ALIGNLEFT | WS_BORDER | WS_TABSTOP,169,169,442,154
GROUPBOX "分析区",IDC_STATIC,165,14,461,342
EDITTEXT IDC_EDIT1,175,45,191,103,ES_MULTILINE | ES_AUTOVSCROLL | WS_VSCROLL
LTEXT "接收到的报文:",IDC_STATIC,174,31,49,8
LTEXT "性能报告:",IDC_STATIC,171,157,35,8
EDITTEXT IDC_EDIT2,7,127,146,172,ES_MULTILINE | ES_AUTOVSCROLL | WS_VSCROLL
CONTROL "",IDC_IPADDRESS1,"SysIPAddress32",WS_TABSTOP,43,20,100,15
EDITTEXT IDC_EDIT4,42,39,40,14,ES_AUTOHSCROLL | ES_NUMBER
LTEXT "ip:",IDC_STATIC,29,23,13,8
LTEXT "port:",IDC_STATIC,21,41,21,8
LTEXT "连接数:",IDC_STATIC,14,57,28,8
EDITTEXT IDC_EDIT5,42,55,40,14,ES_AUTOHSCROLL | ES_NUMBER
PUSHBUTTON "用文件报文",IDC_BUTTON1,18,303,50,14
PUSHBUTTON "输出性能报告文件",IDC_BUTTON2,536,153,68,14
LISTBOX IDC_LIST3,388,47,215,100,LBS_SORT | LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
LTEXT "运行日志:",IDC_STATIC,389,34,35,8
LTEXT "运行时长:",IDC_STATIC,184,336,35,8
PUSHBUTTON "开始测试",IDC_BUTTON3,17,329,56,13
EDITTEXT IDC_EDIT7,219,334,51,14,ES_AUTOHSCROLL | ES_READONLY
LTEXT "接收字节数:",IDC_STATIC,274,336,42,8
EDITTEXT IDC_EDIT8,315,334,53,14,ES_AUTOHSCROLL | ES_READONLY
LTEXT "发送字节数:",IDC_STATIC,372,336,42,8
EDITTEXT IDC_EDIT9,416,334,54,14,ES_AUTOHSCROLL | ES_READONLY
LTEXT "待发送的报文:",IDC_STATIC,15,112,49,8
COMBOBOX IDC_COMBO1,101,104,48,106,CBS_DROPDOWN | CBS_SORT | WS_VSCROLL | WS_TABSTOP
LTEXT "循环次数:",IDC_STATIC,8,72,35,8
EDITTEXT IDC_EDIT3,42,71,40,14,ES_AUTOHSCROLL
LTEXT "协议类型:",IDC_STATIC,67,105,35,8
PUSHBUTTON "暂停测试",IDC_BUTTON4,83,329,54,14
LTEXT "间隔时间:",IDC_STATIC,8,88,35,8
EDITTEXT IDC_EDIT6,41,86,41,14,ES_AUTOHSCROLL
LTEXT "毫秒",IDC_STATIC,86,89,15,8
LTEXT " 活动客户端数:",IDC_STATIC,476,338,51,8
EDITTEXT IDC_EDIT10,531,335,50,14,ES_AUTOHSCROLL | ES_READONLY
PUSHBUTTON "清除日志",IDC_BUTTON5,540,31,50,14
END
/////////////////////////////////////////////////////////////////////////////
//
// Version
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,0,0,1
PRODUCTVERSION 1,0,0,1
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
#endif
FILEOS 0x40004L
FILETYPE 0x1L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "080404B0"
BEGIN
VALUE "CompanyName", "TODO: <公司名>"
VALUE "FileDescription", "TcpTestTool"
VALUE "FileVersion", "1.0.0.1"
VALUE "InternalName", "TcpTestTool.exe"
VALUE "LegalCopyright", "TODO: (C) <公司名>。 保留所有权利。"
VALUE "OriginalFilename", "TcpTestTool.exe"
VALUE "ProductName", "TODO: <产品名>"
VALUE "ProductVersion", "1.0.0.1"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x804, 1200
END
END
/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//
#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO
BEGIN
IDD_ABOUTBOX, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 163
TOPMARGIN, 7
BOTTOMMARGIN, 55
END
IDD_TCPTESTTOOL_DIALOG, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 639
TOPMARGIN, 7
BOTTOMMARGIN, 356
END
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// AFX_DIALOG_LAYOUT
//
IDD_TCPTESTTOOL_DIALOG AFX_DIALOG_LAYOUT
BEGIN
0
END
/////////////////////////////////////////////////////////////////////////////
//
// String Table
//
STRINGTABLE
BEGIN
IDS_ABOUTBOX "关于 TcpTestTool(&A)..."
IDP_SOCKETS_INIT_FAILED "Windows 套接字初始化失败。"
END
#endif // 中文(简体,中国) resources
/////////////////////////////////////////////////////////////////////////////
#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
#define _AFX_NO_SPLITTER_RESOURCES
#define _AFX_NO_OLE_RESOURCES
#define _AFX_NO_TRACKER_RESOURCES
#define _AFX_NO_PROPERTY_RESOURCES
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS)
LANGUAGE 4, 2
#include "res\TcpTestTool.rc2" // 非 Microsoft Visual C++ 编辑的资源
#include "l.CHS\afxres.rc" // 标准组件
#if !defined(_AFXDLL)
#include "l.CHS\afxribbon.rc" // MFC 功能区和控制条资源
#endif
#endif
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED