-
Notifications
You must be signed in to change notification settings - Fork 0
/
Project1.rc
376 lines (319 loc) · 21.2 KB
/
Project1.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
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
// 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
#define APSTUDIO_HIDDEN_SYMBOLS
#include "windows.h"
#undef APSTUDIO_HIDDEN_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
// 中文(简体,中国) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS)
LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
/////////////////////////////////////////////////////////////////////////////
//
// Icon
//
// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_PROJECT1 ICON "Project1.ico"
IDI_SMALL ICON "small.ico"
/////////////////////////////////////////////////////////////////////////////
//
// Menu
//
IDC_PROJECT1 MENU
BEGIN
POPUP "文件(&F)"
BEGIN
MENUITEM "退出(&X)", IDM_EXIT
END
POPUP "帮助(&H)"
BEGIN
MENUITEM "关于(&A) ...", IDM_ABOUT
END
END
/////////////////////////////////////////////////////////////////////////////
//
// Accelerator
//
IDC_PROJECT1 ACCELERATORS
BEGIN
"/", IDM_ABOUT, ASCII, ALT, NOINVERT
"?", IDM_ABOUT, ASCII, ALT, NOINVERT
END
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "关于 Project1"
FONT 9, "MS Shell Dlg", 0, 0, 0x1
BEGIN
ICON IDI_SMALL,IDC_STATIC,14,14,20,20
LTEXT "图书馆管理系统v1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX
LTEXT "copyright",IDC_STATIC,42,26,114,8
DEFPUSHBUTTON "确定",IDOK,113,41,50,14,WS_GROUP
END
IDD_SIGNUP DIALOGEX 0, 0, 227, 125
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "登录"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
PUSHBUTTON "确定",IDOK,44,97,50,14
DEFPUSHBUTTON "取消",IDCANCEL,131,97,50,14
EDITTEXT IDC_SIGNUP_USERNAME,73,14,129,16,ES_AUTOHSCROLL
EDITTEXT IDC_SIGNUP_PASSWORD,73,44,130,15,ES_PASSWORD | ES_AUTOHSCROLL
LTEXT "用户名",IDC_STATIC,33,16,27,8
LTEXT "密码",IDC_STATIC,42,47,18,8
EDITTEXT IDC_SIGNUP_PASSWORD2,73,73,130,15,ES_PASSWORD | ES_AUTOHSCROLL
LTEXT "重复密码",IDC_STATIC,25,78,35,8
END
IDD_LOGIN DIALOGEX 0, 0, 227, 125
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "登录"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
PUSHBUTTON "确定",IDOK,44,97,50,14
DEFPUSHBUTTON "取消",IDCANCEL,131,97,50,14
EDITTEXT IDC_LOGIN_USERNAME,73,31,129,16,ES_AUTOHSCROLL
EDITTEXT IDC_LOGIN_PASSWORD,73,60,130,15,ES_PASSWORD | ES_AUTOHSCROLL
LTEXT "用户名",IDC_STATIC,33,33,27,8
LTEXT "密码",IDC_STATIC,42,64,18,8
END
IDD_BROWSE DIALOGEX 0, 0, 486, 262
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "浏览"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
DEFPUSHBUTTON "返回",IDCANCEL,429,241,50,14
LISTBOX IDC_BROWSE_LIST,21,33,444,204,LBS_SORT | LBS_HASSTRINGS | LBS_USETABSTOPS | LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
LTEXT "双击列表项以借阅图书",IDC_STATIC,21,14,295,15
END
IDD_BORROW DIALOGEX 0, 0, 258, 131
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "借阅"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
PUSHBUTTON "确定",IDOK,44,93,50,14
DEFPUSHBUTTON "取消",IDCANCEL,162,93,50,14
CONTROL "输入 书本编号",IDC_BORROW_BOOKID,"Button",BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP,35,23,70,10
CONTROL "输入 书本名称",IDC_BORROW_BOOKNAME,"Button",BS_AUTORADIOBUTTON,150,23,70,10
EDITTEXT IDC_BORROW_TEXT,31,46,194,31,ES_AUTOHSCROLL
END
IDD_FIND DIALOGEX 0, 0, 488, 262
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "查询"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
PUSHBUTTON "查询",IDOK,115,236,50,14
DEFPUSHBUTTON "返回",IDCANCEL,300,236,50,14
CONTROL "输入 书本编号",IDC_FIND_BOOKID,"Button",BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP,95,29,70,10
CONTROL "输入 书本名称",IDC_FIND_BOOKNAME,"Button",BS_AUTORADIOBUTTON,300,29,70,10
EDITTEXT IDC_FIND_TEXT,22,48,444,16,ES_AUTOHSCROLL
LISTBOX IDC_FIND_LIST,22,76,444,151,LBS_SORT | LBS_USETABSTOPS | LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
LTEXT "双击列表项以借阅图书",IDC_STATIC,23,14,171,14
END
IDD_SUBSCRIBE DIALOGEX 0, 0, 504, 256
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "预订"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
DEFPUSHBUTTON "确定",IDOK,382,235,50,14
PUSHBUTTON "取消",IDCANCEL,447,235,50,14
EDITTEXT IDC_SUBSCRIBE_TEXT,30,31,443,199,ES_MULTILINE | ES_AUTOHSCROLL
LTEXT "输入您的预订信息",IDC_SUBSCRIBE_STATIC,30,14,200,12
END
IDD_RETURN DIALOGEX 0, 0, 486, 262
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "归还"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
DEFPUSHBUTTON "返回",IDCANCEL,429,241,50,14
LISTBOX IDC_RETURN_LIST,21,33,444,204,LBS_SORT | LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
LTEXT "双击列表项以归还图书",IDC_STATIC,21,14,295,15
END
IDD_ADMIN DIALOGEX 0, 0, 670, 378
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "管理员视图"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
DEFPUSHBUTTON "返回",IDCANCEL,613,357,50,14
LISTBOX IDC_ADMIN_LIST,7,28,656,325,LBS_SORT | LBS_USETABSTOPS | LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
PUSHBUTTON "查看预订请求",IDC_ADMIN_SUBSCRIBEBTN,495,357,100,14
LTEXT "双击列表项以执行操作",IDC_STATIC,7,11,210,12
PUSHBUTTON "查看用户数据",IDC_ADMIN_USERBTN,374,357,100,14
END
IDD_ADMIN_SELECT DIALOGEX 0, 0, 311, 140
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "操作"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
DEFPUSHBUTTON "取消",IDCANCEL,254,118,50,14
PUSHBUTTON "在此项后增加",IDC_ADMIN_SELECT_ADD,21,24,268,18
PUSHBUTTON "编辑此项",IDC_ADMIN_SELECT_EDIT,21,86,268,18
PUSHBUTTON "删除此项",IDC_ADMIN_SELECT_DEL,21,55,268,18
END
IDD_ADMIN_SUBSCRIBE DIALOGEX 0, 0, 670, 378
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "预订请求"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
DEFPUSHBUTTON "返回",IDCANCEL,613,357,50,14
LISTBOX IDC_ADMIN_SUBSCRIBE_LIST,7,28,656,325,LBS_SORT | LBS_USETABSTOPS | LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
LTEXT "双击列表项删除请求记录",IDC_STATIC,7,11,210,15
END
IDD_ADMIN_USER DIALOGEX 0, 0, 670, 378
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "用户列表"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
DEFPUSHBUTTON "返回",IDCANCEL,613,357,50,14
LISTBOX IDC_ADMIN_USER_LIST,7,28,656,325,LBS_SORT | LBS_USETABSTOPS | LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
LTEXT "双击列表项进行操作",IDC_STATIC,7,11,210,15
END
/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//
#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO
BEGIN
IDD_ABOUTBOX, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 163
TOPMARGIN, 7
BOTTOMMARGIN, 55
END
IDD_SIGNUP, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 220
TOPMARGIN, 7
BOTTOMMARGIN, 118
END
IDD_LOGIN, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 220
TOPMARGIN, 7
BOTTOMMARGIN, 118
END
IDD_BROWSE, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 479
TOPMARGIN, 7
BOTTOMMARGIN, 255
END
IDD_BORROW, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 251
TOPMARGIN, 7
BOTTOMMARGIN, 124
END
IDD_FIND, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 481
TOPMARGIN, 7
BOTTOMMARGIN, 255
END
IDD_SUBSCRIBE, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 497
TOPMARGIN, 7
BOTTOMMARGIN, 249
END
IDD_RETURN, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 479
TOPMARGIN, 7
BOTTOMMARGIN, 255
END
IDD_ADMIN, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 663
TOPMARGIN, 7
BOTTOMMARGIN, 371
END
IDD_ADMIN_SELECT, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 304
TOPMARGIN, 7
BOTTOMMARGIN, 133
END
IDD_ADMIN_SUBSCRIBE, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 663
TOPMARGIN, 7
BOTTOMMARGIN, 371
END
IDD_ADMIN_USER, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 663
TOPMARGIN, 7
BOTTOMMARGIN, 371
END
END
#endif // APSTUDIO_INVOKED
#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"
"#define APSTUDIO_HIDDEN_SYMBOLS\r\n"
"#include ""windows.h""\r\n"
"#undef APSTUDIO_HIDDEN_SYMBOLS\r\n"
"\0"
END
3 TEXTINCLUDE
BEGIN
"\r\n"
"\0"
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// String Table
//
STRINGTABLE
BEGIN
IDS_APP_TITLE "图书馆管理系统"
IDC_PROJECT1 "PROJECT1"
END
#endif // 中文(简体,中国) resources
/////////////////////////////////////////////////////////////////////////////
#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED