⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mune.mpr

📁 学籍管理系统源码
💻 MPR
📖 第 1 页 / 共 5 页
字号:
*       *********************************************************
*       *                                                         
*       * 10/10/01              MUNE.MPR                14:38:47  
*       *                                                         
*       *********************************************************
*       *                                                         
*       * 作者名称                                                
*       *                                                         
*       * 版权所有 (C) 2001 公司名称                             
*       * 地址                                                    
*       * 城市,     邮编                                          
*       * 国家                                              
*       *                                                         
*       * 说明:                                            
*       * 此程序由 GENMENU 自动生成。    
*       *                                                         
*       *********************************************************

* To attach this menu to your Top-Level form, 
* call it from the Init event of the form:

* Syntax: DO <mprname> WITH <oFormRef> [,<cMenuname>|<lRename>][<lUniquePopups>]

*	oFormRef - form object reference (THIS)
*	cMenuname - name for menu (this is required for Append menus - see below)
*	lRename - renames Name property of your form
*	lUniquePopups - determines whether to generate unique ids for popup names
			
* 	example:

*	PROCEDURE Init
*		DO mymenu.mpr WITH THIS,.T.
*	ENDPROC

* Use the optional 2nd parameter if you plan on running multiple instances
* of your Top-Level form. The preferred method is to create an empty string
* variable and pass it by reference so you can receive the form name after
* the MPR file is run. You can later use this reference to destroy the menu.

*	PROCEDURE Init
*		LOCAL cGetMenuName
*		cGetMenuName = ""
*		DO mymenu.mpr WITH THIS, m.cGetMenuName
*	ENDPROC

* The logical lRename parameter will change the name property of your 
* form to the same name given the menu and may cause conflicts in your 
* code if you directly reference the form by name.

* You will also need to remove the menu when the form is destroyed so that it does 
* not remain in memory unless you wish to reactivate it later in a new form.

* If you passed the optional lRename parameter as .T. as in the above example, 
* you can easily remove the menu in the form's Destroy event as shown below.
* This strategy is ideal when using multiple instances of Top-Level forms.

*	example:

*	PROCEDURE Destroy
*		RELEASE MENU (THIS.Name) EXTENDED
*	ENDPROC

* Using Append/Before/After location options:

*   You might want to append a menu to an existing Top-Level form by setting 
*   the Location option in the General Options dialog. In order to do this, you 
*   must pass the name of the menu in which to attach the new one. The second
*   parameter is required here. If you originally created the menu with the lRename 
*   parameter = .T., then you can update the menu with code similar to the following:

*	example:

*	DO mymenu2.mpr WITH THISFORM,THISFORM.name
*
* Using lUniquePopups:

*   If you are running this menu multiple times in your application, such as in multiple 
*   instances of the same top-level form, you should pass .T. to the lUniquePopups 
*   parameter so that unique popup names are generated to avoid possible conflicts.

*	example:

*	PROCEDURE Init
*		DO mymenu.mpr WITH THIS,.T.,.T.
*	ENDPROC
*
* Note: Parm4-Parm9 are not reserved and freely available for use with your menu code.
*

LPARAMETERS oFormRef, getMenuName, lUniquePopups, parm4, parm5, parm6, parm7, parm8, parm9
LOCAL cMenuName, nTotPops, a_menupops, cTypeParm2, cSaveFormName
IF TYPE("m.oFormRef") # "O" OR ;
  LOWER(m.oFormRef.BaseClass) # 'form' OR ;
  m.oFormRef.ShowWindow # 2
	MESSAGEBOX([只能从顶层表单调用该菜单。请确认您表单的 ShowWindow 属性已设为 2。阅读此菜单 MPR 文件的头部分,可以获得详细信息。])
	RETURN
ENDIF
m.cTypeParm2 = TYPE("m.getMenuName")
m.cMenuName = SYS(2015)
m.cSaveFormName = m.oFormRef.Name
IF m.cTypeParm2 = "C" OR (m.cTypeParm2 = "L" AND m.getMenuName)
	m.oFormRef.Name = m.cMenuName
ENDIF
IF m.cTypeParm2 = "C" AND !EMPTY(m.getMenuName)
	m.cMenuName = m.getMenuName
ENDIF
DIMENSION a_menupops[6]
IF TYPE("m.lUniquePopups")="L" AND m.lUniquePopups
	FOR nTotPops = 1 TO ALEN(a_menupops)
		a_menupops[m.nTotPops]= SYS(2015)
	ENDFOR
ELSE
	a_menupops[1]="系统维护x"
	a_menupops[2]="档案管理d"
	a_menupops[3]="成绩管理c"
	a_menupops[4]="查询统计a"
	a_menupops[5]="数据处理s"
	a_menupops[6]="关于系统g"
ENDIF


*       *********************************************************
*       *                                                         
*       *                         菜单定义                        
*       *                                                         
*       *********************************************************
*

DEFINE MENU (m.cMenuName) IN (m.oFormRef.Name) BAR

DEFINE PAD _0i20ve4wo OF (m.cMenuName) PROMPT "系统维护(\<X)" COLOR SCHEME 3 ;
	KEY ALT+X, ""
DEFINE PAD _0i20ve4wp OF (m.cMenuName) PROMPT "档案管理(\<D)" COLOR SCHEME 3 ;
	KEY ALT+D, ""
DEFINE PAD _0i20ve4wq OF (m.cMenuName) PROMPT "成绩管理(\<C)" COLOR SCHEME 3 ;
	KEY ALT+C, ""
DEFINE PAD _0i20ve4wr OF (m.cMenuName) PROMPT "查询统计(\<A)" COLOR SCHEME 3 ;
	KEY ALT+A, ""
DEFINE PAD _0i20ve4ws OF (m.cMenuName) PROMPT "数据处理(\<S)" COLOR SCHEME 3 ;
	KEY ALT+S, ""
DEFINE PAD _0i20ve4wt OF (m.cMenuName) PROMPT "关于系统(\<G)" COLOR SCHEME 3 ;
	KEY ALT+G, ""
ON PAD _0i20ve4wo OF (m.cMenuName) ACTIVATE POPUP (a_menupops[1])
ON PAD _0i20ve4wp OF (m.cMenuName) ACTIVATE POPUP (a_menupops[2])
ON PAD _0i20ve4wq OF (m.cMenuName) ACTIVATE POPUP (a_menupops[3])
ON PAD _0i20ve4wr OF (m.cMenuName) ACTIVATE POPUP (a_menupops[4])
ON PAD _0i20ve4ws OF (m.cMenuName) ACTIVATE POPUP (a_menupops[5])
ON PAD _0i20ve4wt OF (m.cMenuName) ACTIVATE POPUP (a_menupops[6])

DEFINE POPUP (a_menupops[1]) MARGIN RELATIVE SHADOW COLOR SCHEME 4
DEFINE BAR 1 OF (a_menupops[1]) PROMPT "\-"
DEFINE BAR 2 OF (a_menupops[1]) PROMPT "系单位创建&删除" ;
	KEY CTRL+X, "CTRL+X"
DEFINE BAR 3 OF (a_menupops[1]) PROMPT "系专业创建&删除" ;
	KEY CTRL+Z, "CTRL+Z"
DEFINE BAR 4 OF (a_menupops[1]) PROMPT "系班级创建&删除" ;
	KEY CTRL+B, "CTRL+B"
DEFINE BAR 5 OF (a_menupops[1]) PROMPT "\-"
DEFINE BAR 6 OF (a_menupops[1]) PROMPT "档案库创建&删除" ;
	KEY CTRL+D, "CTRL+D"
DEFINE BAR 7 OF (a_menupops[1]) PROMPT "成绩库创建&删除" ;
	KEY CTRL+C, "CTRL+C"
DEFINE BAR 8 OF (a_menupops[1]) PROMPT "\-"
DEFINE BAR 9 OF (a_menupops[1]) PROMPT "专业号查询&修改"
DEFINE BAR 10 OF (a_menupops[1]) PROMPT "班级人员增删" ;
	KEY CTRL+R, "CTRL+R"
DEFINE BAR 11 OF (a_menupops[1]) PROMPT "课程增删" ;
	KEY CTRL+K, "CTRL+K"
DEFINE BAR 12 OF (a_menupops[1]) PROMPT "系统员设置......"
DEFINE BAR 13 OF (a_menupops[1]) PROMPT "\-"
DEFINE BAR 14 OF (a_menupops[1]) PROMPT "退出系统" ;
	KEY CTRL+Q, "CTRL+Q"
ON SELECTION BAR 2 OF (a_menupops[1]) ;
	DO _0i20ve4wy ;
	IN LOCFILE("VFP98\管理系统\MUNE" ,"MPX;MPR|FXP;PRG" ,"WHERE is MUNE?")
ON SELECTION BAR 3 OF (a_menupops[1]) ;
	DO _0i20ve4xh ;
	IN LOCFILE("VFP98\管理系统\MUNE" ,"MPX;MPR|FXP;PRG" ,"WHERE is MUNE?")
ON SELECTION BAR 4 OF (a_menupops[1]) ;
	DO _0i20ve4xi ;
	IN LOCFILE("VFP98\管理系统\MUNE" ,"MPX;MPR|FXP;PRG" ,"WHERE is MUNE?")
ON SELECTION BAR 6 OF (a_menupops[1]) ;
	DO _0i20ve4xk ;
	IN LOCFILE("VFP98\管理系统\MUNE" ,"MPX;MPR|FXP;PRG" ,"WHERE is MUNE?")
ON SELECTION BAR 7 OF (a_menupops[1]) ;
	DO _0i20ve4xl ;
	IN LOCFILE("VFP98\管理系统\MUNE" ,"MPX;MPR|FXP;PRG" ,"WHERE is MUNE?")
ON SELECTION BAR 9 OF (a_menupops[1]) ;
	DO _0i20ve4xn ;
	IN LOCFILE("VFP98\管理系统\MUNE" ,"MPX;MPR|FXP;PRG" ,"WHERE is MUNE?")
ON SELECTION BAR 10 OF (a_menupops[1]) ;
	DO _0i20ve4xo ;
	IN LOCFILE("VFP98\管理系统\MUNE" ,"MPX;MPR|FXP;PRG" ,"WHERE is MUNE?")
ON SELECTION BAR 11 OF (a_menupops[1]) ;
	DO _0i20ve4xq ;
	IN LOCFILE("VFP98\管理系统\MUNE" ,"MPX;MPR|FXP;PRG" ,"WHERE is MUNE?")
ON SELECTION BAR 12 OF (a_menupops[1]) ;
	DO _0i20ve4xr ;
	IN LOCFILE("VFP98\管理系统\MUNE" ,"MPX;MPR|FXP;PRG" ,"WHERE is MUNE?")
ON SELECTION BAR 14 OF (a_menupops[1]) ;
	DO _0i20ve4xt ;
	IN LOCFILE("VFP98\管理系统\MUNE" ,"MPX;MPR|FXP;PRG" ,"WHERE is MUNE?")

DEFINE POPUP (a_menupops[2]) MARGIN RELATIVE SHADOW COLOR SCHEME 4
DEFINE BAR 1 OF (a_menupops[2]) PROMPT "\-"
DEFINE BAR 2 OF (a_menupops[2]) PROMPT "档案库导入"
DEFINE BAR 3 OF (a_menupops[2]) PROMPT "档案库导出"
DEFINE BAR 4 OF (a_menupops[2]) PROMPT "\-"
DEFINE BAR 5 OF (a_menupops[2]) PROMPT "档案录入" ;
	KEY CTRL+L, "CTRL+L"
DEFINE BAR 6 OF (a_menupops[2]) PROMPT "档案修改" ;
	KEY CTRL+U, "CTRL+U"
DEFINE BAR 7 OF (a_menupops[2]) PROMPT "档案查询" ;
	KEY CTRL+N, "CTRL+N"
DEFINE BAR 8 OF (a_menupops[2]) PROMPT "\-"
DEFINE BAR 9 OF (a_menupops[2]) PROMPT "档案打印输出"
ON SELECTION BAR 2 OF (a_menupops[2]) ;
	DO _0i20ve4xx ;
	IN LOCFILE("VFP98\管理系统\MUNE" ,"MPX;MPR|FXP;PRG" ,"WHERE is MUNE?")
ON SELECTION BAR 3 OF (a_menupops[2]) ;
	DO _0i20ve4xz ;
	IN LOCFILE("VFP98\管理系统\MUNE" ,"MPX;MPR|FXP;PRG" ,"WHERE is MUNE?")
ON SELECTION BAR 5 OF (a_menupops[2]) ;
	DO _0i20ve4y0 ;
	IN LOCFILE("VFP98\管理系统\MUNE" ,"MPX;MPR|FXP;PRG" ,"WHERE is MUNE?")
ON SELECTION BAR 6 OF (a_menupops[2]) ;
	DO _0i20ve4y2 ;
	IN LOCFILE("VFP98\管理系统\MUNE" ,"MPX;MPR|FXP;PRG" ,"WHERE is MUNE?")
ON SELECTION BAR 7 OF (a_menupops[2]) ;
	DO _0i20ve4y3 ;
	IN LOCFILE("VFP98\管理系统\MUNE" ,"MPX;MPR|FXP;PRG" ,"WHERE is MUNE?")
ON SELECTION BAR 9 OF (a_menupops[2]) ;
	DO _0i20ve4y5 ;
	IN LOCFILE("VFP98\管理系统\MUNE" ,"MPX;MPR|FXP;PRG" ,"WHERE is MUNE?")

DEFINE POPUP (a_menupops[3]) MARGIN RELATIVE SHADOW COLOR SCHEME 4
DEFINE BAR 1 OF (a_menupops[3]) PROMPT "\-"
DEFINE BAR 2 OF (a_menupops[3]) PROMPT "成绩库导入"
DEFINE BAR 3 OF (a_menupops[3]) PROMPT "成绩库导出"
DEFINE BAR 4 OF (a_menupops[3]) PROMPT "\-"
DEFINE BAR 5 OF (a_menupops[3]) PROMPT "成绩录入" ;
	KEY CTRL+I, "CTRL+I"
DEFINE BAR 6 OF (a_menupops[3]) PROMPT "成绩修改" ;
	KEY CTRL+G, "CTRL+G"
DEFINE BAR 7 OF (a_menupops[3]) PROMPT "成绩查询" ;
	KEY CTRL+A, "CTRL+A"
DEFINE BAR 8 OF (a_menupops[3]) PROMPT "\-"
DEFINE BAR 9 OF (a_menupops[3]) PROMPT "成绩打印输出"
ON SELECTION BAR 2 OF (a_menupops[3]) ;
	DO _0i20ve4y9 ;
	IN LOCFILE("VFP98\管理系统\MUNE" ,"MPX;MPR|FXP;PRG" ,"WHERE is MUNE?")
ON SELECTION BAR 3 OF (a_menupops[3]) ;
	DO _0i20ve4yb ;
	IN LOCFILE("VFP98\管理系统\MUNE" ,"MPX;MPR|FXP;PRG" ,"WHERE is MUNE?")
ON SELECTION BAR 5 OF (a_menupops[3]) ;
	DO _0i20ve4yd ;
	IN LOCFILE("VFP98\管理系统\MUNE" ,"MPX;MPR|FXP;PRG" ,"WHERE is MUNE?")
ON SELECTION BAR 6 OF (a_menupops[3]) ;
	DO _0i20ve4ye ;
	IN LOCFILE("VFP98\管理系统\MUNE" ,"MPX;MPR|FXP;PRG" ,"WHERE is MUNE?")
ON SELECTION BAR 7 OF (a_menupops[3]) ;
	DO _0i20ve4yg ;
	IN LOCFILE("VFP98\管理系统\MUNE" ,"MPX;MPR|FXP;PRG" ,"WHERE is MUNE?")
ON SELECTION BAR 9 OF (a_menupops[3]) ;
	DO _0i20ve4yh ;
	IN LOCFILE("VFP98\管理系统\MUNE" ,"MPX;MPR|FXP;PRG" ,"WHERE is MUNE?")

DEFINE POPUP (a_menupops[4]) MARGIN RELATIVE SHADOW COLOR SCHEME 4
DEFINE BAR 1 OF (a_menupops[4]) PROMPT "\-"
DEFINE BAR 2 OF (a_menupops[4]) PROMPT "单科本班名次"
DEFINE BAR 3 OF (a_menupops[4]) PROMPT "平均分本班名次"
DEFINE BAR 4 OF (a_menupops[4]) PROMPT "总分本班名次"
DEFINE BAR 5 OF (a_menupops[4]) PROMPT "同专业平均分名次"
DEFINE BAR 6 OF (a_menupops[4]) PROMPT "同专业总分名次"
DEFINE BAR 7 OF (a_menupops[4]) PROMPT "\-"
DEFINE BAR 8 OF (a_menupops[4]) PROMPT "班级学生补考名单"
DEFINE BAR 9 OF (a_menupops[4]) PROMPT "\-"
DEFINE BAR 10 OF (a_menupops[4]) PROMPT "学生个人资料查询"
ON SELECTION BAR 2 OF (a_menupops[4]) ;
	DO _0i20ve4yl ;
	IN LOCFILE("VFP98\管理系统\MUNE" ,"MPX;MPR|FXP;PRG" ,"WHERE is MUNE?")
ON SELECTION BAR 3 OF (a_menupops[4]) ;
	DO _0i20ve4ym ;
	IN LOCFILE("VFP98\管理系统\MUNE" ,"MPX;MPR|FXP;PRG" ,"WHERE is MUNE?")
ON SELECTION BAR 4 OF (a_menupops[4]) ;
	DO _0i20ve4yo ;
	IN LOCFILE("VFP98\管理系统\MUNE" ,"MPX;MPR|FXP;PRG" ,"WHERE is MUNE?")
ON SELECTION BAR 5 OF (a_menupops[4]) ;
	DO _0i20ve4yq ;
	IN LOCFILE("VFP98\管理系统\MUNE" ,"MPX;MPR|FXP;PRG" ,"WHERE is MUNE?")
ON SELECTION BAR 6 OF (a_menupops[4]) ;
	DO _0i20ve4yr ;
	IN LOCFILE("VFP98\管理系统\MUNE" ,"MPX;MPR|FXP;PRG" ,"WHERE is MUNE?")
ON SELECTION BAR 8 OF (a_menupops[4]) ;
	DO _0i20ve4yt ;
	IN LOCFILE("VFP98\管理系统\MUNE" ,"MPX;MPR|FXP;PRG" ,"WHERE is MUNE?")
ON SELECTION BAR 10 OF (a_menupops[4]) ;
	DO _0i20ve4yu ;
	IN LOCFILE("VFP98\管理系统\MUNE" ,"MPX;MPR|FXP;PRG" ,"WHERE is MUNE?")

DEFINE POPUP (a_menupops[5]) MARGIN RELATIVE SHADOW COLOR SCHEME 4
DEFINE BAR 1 OF (a_menupops[5]) PROMPT "\-"
DEFINE BAR 2 OF (a_menupops[5]) PROMPT "数据库初始化"
DEFINE BAR 3 OF (a_menupops[5]) PROMPT "数据整理" ;
	KEY CTRL+Y, "CTRL+Y"
DEFINE BAR 4 OF (a_menupops[5]) PROMPT "\-"
DEFINE BAR 5 OF (a_menupops[5]) PROMPT "数据库备份"
DEFINE BAR 6 OF (a_menupops[5]) PROMPT "数据库恢复"
ON SELECTION BAR 2 OF (a_menupops[5]) ;
	DO _0i20ve4yy ;
	IN LOCFILE("VFP98\管理系统\MUNE" ,"MPX;MPR|FXP;PRG" ,"WHERE is MUNE?")
ON SELECTION BAR 3 OF (a_menupops[5]) ;
	DO _0i20ve4yz ;
	IN LOCFILE("VFP98\管理系统\MUNE" ,"MPX;MPR|FXP;PRG" ,"WHERE is MUNE?")
ON SELECTION BAR 5 OF (a_menupops[5]) ;
	DO _0i20ve4z1 ;
	IN LOCFILE("VFP98\管理系统\MUNE" ,"MPX;MPR|FXP;PRG" ,"WHERE is MUNE?")
ON SELECTION BAR 6 OF (a_menupops[5]) ;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -