ETradeClient.rc
15.8 KB
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
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
// 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
#pragma code_page(936)
#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_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\\ETradeClient.rc2"" // 非 Microsoft Visual C++ 编辑的资源\r\n"
"#include ""l.CHS\\afxres.rc"" // 标准组件\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\\ETradeClient.ico"
/////////////////////////////////////////////////////////////////////////////
//
// Menu
//
IDR_MAINFRAME MENU
BEGIN
POPUP "中央结算"
BEGIN
MENUITEM "下单", ID_ORDER
MENUITEM "结算单管理", ID_STATEMENT_MANAGE
END
POPUP "登记分发"
BEGIN
MENUITEM "商品登记", ID_COMM_REGIST
MENUITEM "多品登记", ID_MORE_REGIS
MENUITEM "商品分发", ID_COMM_DISTRIB
MENUITEM "查询管理", ID_QUERY_MANAGE
MENUITEM "特殊处理", ID_SPECIAL_HANDLE
END
POPUP "基础资料"
BEGIN
MENUITEM "品类管理", ID_CATEGORY_RULE
MENUITEM "免密协议", ID_AGREEMENT
MENUITEM "代卖货管理", ID_TAPE_HANDLE
MENUITEM SEPARATOR
MENUITEM "扣点规则", ID_POINT_RULE
MENUITEM "扣点白名单", ID_KOUDIAN_WHITE_LIST
MENUITEM SEPARATOR
MENUITEM "支付方式管理", ID_PAY_MANAGE
MENUITEM "支付黑名单", ID_PAY_BLACK_LIST
MENUITEM "支付白名单", ID_PAY_WHITE_LIST
END
POPUP "系统设置"
BEGIN
MENUITEM "用户管理", ID_USER_MANAGE
MENUITEM "角色管理", ID_ROLE_MANAGE
MENUITEM "参数设置", ID_PARAM_SET
MENUITEM "操作日志", ID_LOG
END
POPUP "帮助"
BEGIN
MENUITEM "关于 电子结算综合业务系统...", ID_APP_ABOUT
END
END
IDR_ACCOUNT MENU
BEGIN
POPUP "帐户"
BEGIN
MENUITEM "退出", ID_EXIT
MENUITEM "修改密码", ID_MODIFY_PASSWORD
END
END
IDR_MENU1 MENU
BEGIN
POPUP "列表右键菜单"
BEGIN
MENUITEM "删除", ID_POPMENU_DELETE
END
END
/////////////////////////////////////////////////////////////////////////////
//
// Accelerator
//
IDR_MAINFRAME ACCELERATORS
BEGIN
"C", ID_EDIT_COPY, VIRTKEY, ALT, NOINVERT
VK_INSERT, ID_EDIT_COPY, VIRTKEY, ALT, NOINVERT
VK_DELETE, ID_EDIT_CUT, VIRTKEY, SHIFT, NOINVERT
"X", ID_EDIT_CUT, VIRTKEY, CONTROL, NOINVERT
"V", ID_EDIT_PASTE, VIRTKEY, ALT, NOINVERT
VK_INSERT, ID_EDIT_PASTE, VIRTKEY, ALT, NOINVERT
VK_BACK, ID_EDIT_UNDO, VIRTKEY, ALT, NOINVERT
"Z", ID_EDIT_UNDO, VIRTKEY, CONTROL, NOINVERT
VK_F6, ID_NEXT_PANE, VIRTKEY, NOINVERT
VK_F6, ID_PREV_PANE, VIRTKEY, SHIFT, NOINVERT
END
IDR_ACCELERATOR_ORDER ACCELERATORS
BEGIN
VK_DOWN, ID_ACCELERATOR_DOWN, VIRTKEY, NOINVERT
VK_RETURN, ID_ACCELERATOR_ENTER, VIRTKEY, NOINVERT
VK_F11, ID_ACCELERATOR_F11, VIRTKEY, NOINVERT
"S", ID_ACCELERATOR_S, VIRTKEY, NOINVERT
VK_TAB, ID_ACCELERATOR_TAB, VIRTKEY, NOINVERT
VK_UP, ID_ACCELERATOR_UP, VIRTKEY, NOINVERT
END
IDR_ACCELERATOR_PAY ACCELERATORS
BEGIN
"F", ID_ACCELERATOR_F, VIRTKEY, NOINVERT
"A", ID_ACCELERATOR_A, VIRTKEY, NOINVERT
"X", ID_ACCELERATOR_X, VIRTKEY, NOINVERT
VK_RETURN, ID_ACCELERATOR_ENTER, VIRTKEY, NOINVERT
END
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "关于 电子结算综合业务系统"
FONT 9, "MS Shell Dlg", 0, 0, 0x1
BEGIN
ICON IDR_MAINFRAME,IDC_STATIC,14,14,20,20
LTEXT "电子结算综合业务系统,4.0.6 版",IDC_STATIC,42,14,121,8,SS_NOPREFIX
LTEXT "Copyright (C) 2019",IDC_STATIC,42,26,114,8
DEFPUSHBUTTON "确定",IDOK,99,41,50,14,WS_GROUP
END
IDD_LOGIN DIALOGEX 0, 0, 397, 171
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
EDITTEXT IDC_ACCOUNT_EDIT,185,26,166,27
EDITTEXT IDC_PWD_EDIT,185,70,166,27,ES_AUTOHSCROLL
LTEXT "",IDC_LOGIN_ERR_MSG,231,100,120,27
END
IDD_POPUP_BROWSER_VIEW DIALOGEX 0, 0, 309, 176
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
END
IDD_MODIFY_CONFIG DIALOGEX 0, 0, 324, 257
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "客户端配置"
FONT 9, "MS Shell Dlg", 0, 0, 0x0
BEGIN
LTEXT "检查周期",IDC_STATIC,27,39,28,8
EDITTEXT IDC_EDIT_MSG_COUNT_QUERY_INTERVAL,72,37,40,12,ES_RIGHT | ES_AUTOHSCROLL | ES_NUMBER
LTEXT "秒",IDC_STATIC,114,39,8,8
GROUPBOX "服务器",IDC_STATIC,171,23,134,58
LTEXT "链接协议",IDC_STATIC,187,43,28,8
COMBOBOX IDC_COMBO_PROTOCOL,224,41,48,30,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP
LTEXT "端口",IDC_STATIC,191,65,15,8
EDITTEXT IDC_EDIT_SERVER_PORT,224,63,36,12,ES_CENTER | ES_AUTOHSCROLL | ES_NUMBER
GROUPBOX "加密机",IDC_STATIC,19,73,134,86
LTEXT "IP地址",IDC_STATIC,24,92,24,8
CONTROL "",IDC_IP_ADDR_PWD_MACHINE,"SysIPAddress32",WS_TABSTOP,57,90,92,13
LTEXT "端口",IDC_STATIC,29,115,15,8
EDITTEXT IDC_EDIT_PWD_MACHINE_PORT,57,113,35,12,ES_CENTER | ES_AUTOHSCROLL | ES_NUMBER
LTEXT "操作超时",IDC_STATIC,25,139,28,8
EDITTEXT IDC_EDIT_PWD_MACHINE_TIMEOUT,57,138,40,12,ES_RIGHT | ES_AUTOHSCROLL | ES_NUMBER
LTEXT "毫秒",IDC_STATIC,99,139,14,8
GROUPBOX "通知",IDC_STATIC,19,23,134,40
GROUPBOX "密码键盘",IDC_STATIC,171,95,135,64
LTEXT "长度",IDC_STATIC,189,116,15,8
EDITTEXT IDC_EDIT_PIN_PAD_LEN,224,114,35,12,ES_CENTER | ES_AUTOHSCROLL | ES_NUMBER
LTEXT "操作超时",IDC_STATIC,185,140,28,8
EDITTEXT IDC_EDIT_PIN_PAD_TIMEOUT,224,139,40,12,ES_RIGHT | ES_AUTOHSCROLL | ES_NUMBER
LTEXT "秒",IDC_STATIC,266,140,14,8
DEFPUSHBUTTON "确定",IDOK,102,228,50,14
PUSHBUTTON "取消",IDCANCEL,165,228,50,14
GROUPBOX "身份证读卡器",IDC_STATIC_IDREADER,18,168,288,42
CONTROL "华视电子读卡器",IDC_RADIO_HUASHIDIANZI,"Button",BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP,60,186,64,10
CONTROL "新中新电子读卡器",IDC_RADIO_XINZHONGXIN,"Button",BS_AUTORADIOBUTTON | WS_TABSTOP,174,186,71,10
END
IDD_DIALOG_PLACE_ORDER DIALOGEX 0, 0, 342, 238
STYLE DS_SETFONT | DS_MODALFRAME | DS_3DLOOK | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "结算下单"
FONT 12, "微软雅黑", 400, 0, 0x86
BEGIN
CONTROL "Custom3",IDC_GRID_PRODUCT,"MFCGridCtrl",WS_TABSTOP,0,153,324,39
LTEXT "货 主",IDC_STATIC_OWNER,1,19,25,14
EDITTEXT IDC_EDIT_NAME,91,18,44,14,ES_MULTILINE | ES_AUTOHSCROLL
LTEXT "商 品",IDC_STATIC_COMM,2,33,26,12
EDITTEXT IDC_EDIT_COMM_NUM,29,36,53,15,ES_MULTILINE | ES_AUTOHSCROLL
EDITTEXT IDC_EDIT_COMM_NAME,92,37,44,13,ES_MULTILINE | ES_AUTOHSCROLL
LTEXT "单 位",IDC_STATIC_UNIT,1,54,26,12
EDITTEXT IDC_EDIT_UNIT,30,55,15,14,ES_MULTILINE | ES_AUTOHSCROLL
LTEXT "斤",IDC_STATIC_REAL_UNIT,47,56,26,12
LTEXT "件 重",IDC_STATIC_HEAVY,91,53,30,14
EDITTEXT IDC_EDIT_HEAVY,114,53,44,13,ES_MULTILINE | ES_AUTOHSCROLL
LTEXT "单 价",IDC_STATIC_PRICE,2,70,26,12
EDITTEXT IDC_EDIT_PRICE,30,70,53,15,ES_MULTILINE | ES_AUTOHSCROLL
LTEXT "数 量",IDC_STATIC_COUNT,92,70,30,14
EDITTEXT IDC_EDIT_COUNT,114,69,44,13,ES_MULTILINE | ES_AUTOHSCROLL
LTEXT "交易金额:",IDC_STATIC_HEJI,246,227,33,8
LTEXT "",IDC_STATIC_TOTAL_MONEY,289,227,8,8
LTEXT "",IDC_STATIC_ERROR,262,67,8,8
LTEXT "买 家",IDC_STATIC_BUYER,170,40,25,14
EDITTEXT IDC_EDIT_BUYER_NAME,260,39,44,14,ES_MULTILINE | ES_AUTOHSCROLL
EDITTEXT IDC_EDIT_BUYER_CARD,198,39,53,15,ES_MULTILINE | ES_AUTOHSCROLL
EDITTEXT IDC_EDIT_CARD,29,18,53,15,ES_MULTILINE | ES_AUTOHSCROLL
PUSHBUTTON "提交(&S)",IDC_BUTTON_PAY,287,10,50,14
PUSHBUTTON "买家刷卡(F11)",IDC_BUTTON_SWIP_CARD,287,53,50,14
END
IDD_DIALOG_PAY DIALOGEX 0, 0, 229, 119
STYLE DS_SETFONT | WS_POPUP | WS_BORDER | WS_SYSMENU
FONT 12, "微软雅黑", 400, 0, 0x0
BEGIN
LTEXT "总计金额:",IDC_PAY_STATIC_TOTAL_MONEY,18,20,41,8
LTEXT "",IDC_PAY_STATIC_MONEY,73,20,8,8
LTEXT "密 码:",IDC_PAY_STATIC_PASSWORD,18,50,31,8
EDITTEXT IDC_PAY_EDIT_PASSWORD,56,46,40,14,ES_PASSWORD | ES_AUTOHSCROLL
PUSHBUTTON "输入密码(&A)",IDC_PAY_BUTTON_PASSWORD,151,51,71,18
PUSHBUTTON "关闭(&X)",IDC_PAY_BUTTON_CLOSE,155,94,67,17
PUSHBUTTON "付款(&F)",IDC_PAY_BUTTON_PAY,72,94,67,17
LTEXT "",IDC_PAY_STATIC_REAL_MONEY,65,20,57,8
LTEXT "",IDC_STATIC_ERROR_MSG,68,71,8,8
END
/////////////////////////////////////////////////////////////////////////////
//
// Version
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 4,0,6,0
PRODUCTVERSION 4,0,6,0
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", "地利集团【DILI GROUP】"
VALUE "FileDescription", "电子交易结算综合业务系统"
VALUE "FileVersion", "4.0.6.0"
VALUE "InternalName", "电子交易结算综合业务系统"
VALUE "LegalCopyright", "(C) 地利集团保留所有权利。"
VALUE "OriginalFilename", "电子交易结算综合业务系统"
VALUE "ProductName", "电子交易结算综合业务系统"
VALUE "ProductVersion", "4.0.6.0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x804, 1200
END
END
/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//
#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO
BEGIN
IDD_ABOUTBOX, DIALOG
BEGIN
END
IDD_LOGIN, DIALOG
BEGIN
VERTGUIDE, 324
END
IDD_POPUP_BROWSER_VIEW, DIALOG
BEGIN
END
IDD_MODIFY_CONFIG, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 317
TOPMARGIN, 7
BOTTOMMARGIN, 248
END
IDD_DIALOG_PLACE_ORDER, DIALOG
BEGIN
RIGHTMARGIN, 337
HORZGUIDE, 67
END
IDD_DIALOG_PAY, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 222
TOPMARGIN, 7
BOTTOMMARGIN, 111
END
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Dialog Info
//
IDD_MODIFY_CONFIG DLGINIT
BEGIN
IDC_COMBO_PROTOCOL, 0x403, 5, 0
0x7468, 0x7074, "\000"
IDC_COMBO_PROTOCOL, 0x403, 6, 0
0x7468, 0x7074, 0x0073,
0
END
/////////////////////////////////////////////////////////////////////////////
//
// Bitmap
//
IDB_BITMAP_ERROR BITMAP "Resource\\Login\\error.bmp"
/////////////////////////////////////////////////////////////////////////////
//
// AFX_DIALOG_LAYOUT
//
IDD_ABOUTBOX AFX_DIALOG_LAYOUT
BEGIN
0
END
/////////////////////////////////////////////////////////////////////////////
//
// String Table
//
STRINGTABLE
BEGIN
IDP_OLE_INIT_FAILED "OLE 初始化失败。 请确保 OLE 库是正确的版本。"
END
STRINGTABLE
BEGIN
IDR_MAINFRAME "ETradeClient"
END
STRINGTABLE
BEGIN
AFX_IDS_APP_TITLE "ETradeClient"
AFX_IDS_IDLEMESSAGE "就绪"
END
STRINGTABLE
BEGIN
ID_INDICATOR_EXT "EXT"
ID_INDICATOR_CAPS "CAP"
ID_INDICATOR_NUM "NUM"
ID_INDICATOR_SCRL "SCRL"
ID_INDICATOR_OVR "OVR"
ID_INDICATOR_REC "REC"
END
STRINGTABLE
BEGIN
ID_APP_ABOUT "显示程序信息、版本号和版权信息\n关于"
ID_APP_EXIT "退出应用程序;提示保存文档\n退出"
END
STRINGTABLE
BEGIN
ID_NEXT_PANE "切换到下一个窗格\n下一窗格"
ID_PREV_PANE "切换回上一个窗格\n上一窗格"
END
STRINGTABLE
BEGIN
ID_WINDOW_SPLIT "将活动窗口拆分为多个窗格\n拆分"
END
STRINGTABLE
BEGIN
ID_EDIT_CLEAR "清除所选内容\n清除"
ID_EDIT_CLEAR_ALL "清除全部内容\n全部清除"
ID_EDIT_COPY "复制所选内容,将其放入剪贴板\n复制"
ID_EDIT_CUT "剪切所选内容,将其放入剪贴板\n剪切"
ID_EDIT_FIND "查找指定的文本\n查找"
ID_EDIT_PASTE "插入剪贴板内容\n粘贴"
ID_EDIT_REPEAT "重复上一操作\n重复"
ID_EDIT_REPLACE "用其他文本替换特定的文本\n替换"
ID_EDIT_SELECT_ALL "选定整个文档\n全选"
ID_EDIT_UNDO "撤消上一操作\n撤消"
ID_EDIT_REDO "重做上次撤消的操作\n重做"
END
STRINGTABLE
BEGIN
AFX_IDS_SCSIZE "更改窗口大小"
AFX_IDS_SCMOVE "更改窗口位置"
AFX_IDS_SCMINIMIZE "将窗口缩小成图标"
AFX_IDS_SCMAXIMIZE "将窗口放大到最大尺寸"
AFX_IDS_SCNEXTWINDOW "切换到下一个文档窗口"
AFX_IDS_SCPREVWINDOW "切换到上一个文档窗口"
AFX_IDS_SCCLOSE "关闭活动窗口并提示保存文档"
END
STRINGTABLE
BEGIN
AFX_IDS_SCRESTORE "将窗口恢复到正常大小"
AFX_IDS_SCTASKLIST "激活任务列表"
END
#endif // 中文(简体,中国) resources
/////////////////////////////////////////////////////////////////////////////
#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
#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\ETradeClient.rc2" // 非 Microsoft Visual C++ 编辑的资源
#include "l.CHS\afxres.rc" // 标准组件
#endif
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED