毕业设计答辩ppt.ppt

人力资源管理系统

收藏

压缩包内文档预览:
预览图 预览图 预览图 预览图 预览图 预览图 预览图 预览图 预览图
编号:58684259    类型:共享资源    大小:1.70MB    格式:RAR    上传时间:2020-03-17 上传人:qq77****057 IP属地:江苏
7.2
积分
关 键 词:
人力 资源管理 系统
资源描述:
人力资源管理系统,人力,资源管理,系统
内容简介:
毕业设计论文设计题目 人事管理系统 教 学 班: 学生姓名: 学 号: 指导教师: 完成日期: 摘 要信息技术为企业的发展提供了机遇,也带来了挑战。如何改良企业内部经营机制,公正、客观、全面、快捷地评估员工的业绩,实现以人为本的经营战略,提高人事管理工作的效率,使人事管理员有更多的精力去做人力资源分析、研究和开发工作,是企业立足发展,开拓未来,领先同行业的关键。本文叙述了一个人事管理系统形成的全过程,包括部分演示关键词:数据库;C#Abstract: Computer bench-scale equipment management system management system (MIS) aims at an important application system software which laboratory all equipment manage, this system integrity realization to equipment management request, including: Input, browsing, deletion, revision, retrieval and statistics and so on. The computer bench-scale equipment management system management system uses B/S pattern, it enhanced the office efficiency and the equipment reliability, reduced staffs labor intensity, reduces the work to consume the material, enhances the equipment the modern management level. This article will conduct the research to in bench-scale equipment management system management system development certain basic questions, including bench-scale equipment management system management system development condition, function module, series contents and so on overall plan and realization process. Key word : data statement; C#目录摘要 .2第1章 绪论.41.1 开发背景.61.2 可行性研究.9第2章 系统开发模式、工具及环境.122.1系统运行环境.122.2 系统开发工具介绍.152.3 系统开发环境简介.18第3章 系统需求分析及概要设计.203.1需求分析.203.2数据库设计.24第4章 系统详细设计.264.1 系统设计总体设计.304.2 系统设计详细设计.344.3 界面设计.38第5章 附录.42结束语.50致谢.51参考文献.52第1章绪论1.1 开发背景随着计算机技术、网络技术和信息技术的发展,现在办公系统更趋于系统化、科学化和网络化。网络办公自动化系统是计算机技术和网络迅速发展的一个办公应用解决方案,它的主要目的是实现信息交流和信息共享,提供协同工作的手段,提高办公的效率,让人们从繁琐的有纸办公中解脱出来。现在许多的机关单位的人事管理水平还停留在纸介质的基础上,这样的机制已经不能适应时代的发展,因为它浪费了许多人力和物力,在信息时代这种传统的管理方法必然被计算机为基础的信息管理所取代。本系统就是基于本学院的人事管理而设计的,是对学院的人事资料进行管理,为人事管理人员提供了一套操作简单、使用可靠、界面友好、易于管理和使用的处理工具。本系统对人事各种数据进行统一处理,避免数据存取、数据处理的重复,提高工作效率,减少了系统数据处理的复杂性。本系统不仅使学院人事管理人员从繁重的工作中解脱出来,而且提高了人事管理的效率,提高了人事管理的科学性,方便了用户查询、管理人员进行管理。1.2可行性研究此项管理系统的开发任务是作为毕业设计课题进行的,故不存在开发费用问题,可行性研究的主要方面应放在开发进度的控制上。此人事管理系统初期开发目标是能够在本学院内得到应用,其使用、管理范围仅限于学院,属中小型数据库管理系统应用开发。借助C#中数据库应用系统开发工具,配合后端access 2000的支持,在毕业设计期内完成基本的增删查改以及不可少的自动化功能应该没有问题。另外,为了便于日后的系统维护以及在此基础上进行功能扩充和升级,开发过程中应保持良好的代码书写风格并注意编写详细的技术说明文档。第2章系统开发模式、工具及环境2.1系统运行环境系统要具有查询和数据处理功能,系统运行环境Microsoft Windows98以上,要求服务器最低配置:CPU: Intel Pentium内存:128M硬盘:10G网卡:10M/100M2.2开发工具系统开发工具采用vs2005,后台数据库为access2000。2.3 系统开发环境简介2000年6月,Microsoft公司发布了它的.NET(读作“dot-net”)计划。.NET平台对早期的开发平台作了重大改进。.NET提供了一种新的软件开发模型,它允许用不同程序设计语言创建的应用程序能相互通信。这个平台也允许开发者创建基于Web的应用程序,这些应用程序能够发布到多种不同的设备(甚至是无线电话)和台式机上。Microsoft的.NET 计划为利用Internet和Web进行软件的开发、设计和使用开辟了广阔的新前景。.NET策略的一个主要方面是它与具体的语言或平台无关。它不需求程序员使用惟一的一种程序设计语言。程序员可以将多种与.NET兼容的语言(图1-1)结合起来开发.NET应用程序。多个程序员可以共同参与同一个软件项目,每个人可以使用自己最精通的.NET语言(如Visual C+ .NET、C#、Visual Basic和其他许多语言)来编写代码。编 程 语 言APLOberonC#OzCOBOLPascalComponent PascalPerlCurriculumPythonEiffelRPGFortranSchemeHaskellSmalltalkJ#Standard MLJScript .NETVisual Basic .NETMercuryVisual C+ .NET图1-1 .NET语言(来自于Microsoft Web站点的列表信息,该站点是).NET体系结构的一个主要组件是Web服务,它是通过Internet向客户端开放其功能的应用程序。客户端和其他应用程序可以将这些Web服务作为可重用的构件块。Web服务的一个示例是Dollar汽车租赁公司的预订系统,该系统称为Quick Keys1。Dollar公司希望开放其基于大型系统的功能,这样其他公司就能向客户提供汽车租赁的预订服务。Dollar公司本来可以为其合作伙伴创建了单独的专用解决方案。为了以可重用的方式开放其功能,Dollar公司用Web服务来实现其解决方案。通过新创建的Web服务,航空公司和酒店能够使用Dollar公司的预订系统来为它们的客户预订汽车。Dollar公司的业务伙伴既不需要使用与Dollar公司相同的平台,也不需要知道预订系统是如何实现的。把应用程序重新实现为Web服务为Dollar公司带来了数百万美元的额外收入和成千上万的新客户。Web服务扩展了软件重用的概念。程序员不必实现每一个应用程序的每一个组件,而只需将注意力放在自己所开发的这一部分上。相反,公司可以购买Web服务,从而将时间和精力放在产品开发上。面向对象的程序设计方法已经很流行,因为它能让程序员利用预先包装好的组件方便地创建应用程序。同样,程序员可以利用Web服务为数据库、安全性、身份验证、数据存储和语言翻译创建应用程序,而无需知道这些组件的内部细节。当公司通过Web服务链接它们的产品时,这时就出现了一种新的用户体验。例如,通过利用多个公司的Web服务,一个单独的应用程序就能同时管理账单支付、税金退还、贷款和投资。一个在线商人可以购买用于在线信用卡付款、用户身份验证、网络安全和库存数据库的Web服务来建立一个电子商务Web站点。这种互动的关键是XML和SOAP,它们可使Web服务能够相互通信。XML对数据进行标识,而SOAP则是Web服务之间得以方便通信的协议。XML和SOAP就像“胶水”一样将各种Web服务组合在一起构成各种应用程序。通用数据访问(Universal data access)是.NET的另外一个基本概念。如果一个文件有两份副本(例如,一份在个人的计算机上,另一份则在公司的计算机上),旧版本必须经常更新,这称为文件同步。如果两个文件不同,那么它们就不同步。这种状态容易导致错误。我们可利用.NET将数据存放在中间位置,而不是存放在各个分离的系统上。第3章 系统需求分析及概要设计3.1需求分析学院人事管理工作主要包括人员基本信息保存,部门(或科室)信息,职称(或职务)变动情况,教学人员的教学记录;人员、部门(或科室)、职称(或职务)变动情况的查询和数据的录入、删除、修改等操作。这就要求所开发的管理系统具备基本的数据库功能如增添、删除、修改、查询以外,还应具备对大量原始数据进行自动检索整理并提取有用信息的更高层次的自动化功能以提高办公效率。为此,我们决定采用C#作为前端应用程序的开发工具,因为其特有的数据连接技术能够为应用开发提供强大的用户数据库机构(其面向对象的编程方法,减少了代码的重复编写,而且很容易设计出友好的用户界面),使设计者快速编写出符合要求的程序,并且对于数据库中数据进行的各项操作也能及时的进行保存和修改。另外,人事管理工作范围涉及整个学院,需要处理的数据量不是特别庞大复杂,所以小型的MB级DBMS如access就可以胜任此项工作,不需要选择大型的数据库系统浪费资源。因此我们选择Microsoft公司的office 2000的access 2000作为后端数据库的DBMS支持。3.2数据库设计人事管理系统总体设计中最重要的阶段是数据库的设计,引文数据库表项是否完备,表项间的关系是否合理直接影响到系统后期应用程序能否顺利开发。1、表数据库中的数据表分为:人事基本信息表,部门表,科室表,教学记录表,职称变动表,职务变动表,用户管理。(各表内各字段的具体设置见附录)(科室表内容如图一)(1)人事基本信息表用于保存人员的所有人事方面的信息,包括人员基本信息、联系方式、工作单位等信息以及简介、奖惩状况等信息。此表是人事管理系统中最主要的表,每个人员的基本情况都在此表中都有记录。(2)部门表用于保存部门信息,包括部门编号、部门名称和部门类别。(3)科室表用于保存科室信息,包括科室编号、科室名称、所属部门名称。(4)教学记录表用于保存教学人员的教学情况,包括人员编号、人员姓名、教学时间、课程名称。(5)职称变动表用于保存教学人员的职称变动信息,包括人员姓名、时间、原现职称等信息。(6)职务变动表用于保存行政人员的职务变动信息,包括人员姓名、时间、原现职务等信息。(7)用户管理用于保存人事管理系统中使用用户的姓名、密码、用户权限。用户权限分为普通用户和管理人员。其中普通人员是可以进行查询操作和更改自己密码;管理人员是可以进行查询操作,数据库中各表的添加、删除、浏览和修改等数据处理,添加、删除用户等用户信息的操作。 2、权限设置用户管理表的用户权限分为管理人员和普通用户(数据库表内保存为0和1)。管理人员可以添加、修改、删除记录,可以添加或删除用户。普通用户只能进行数据查询操作。第4章 系统详细设计4.1 系统设计总体设计通过对学院人事管理工作的特点及其需求进行认真分析,我们总结出人事管理系统的两个核心:一个是关于人事管理的各类信息的查询操作,另一个是关于人事管理中的各类数据的处理操作。基于以上分析结果,我们决定将本系统按其管理的不同方面划分成两个部分:1、查询系统对于人事管理中的所有的信息可以进行分类查询。2、管理系统对于人事管理中的所有的信息可以进行浏览、增添、删除、修改等基本的管理功能。并且对于数据管理中并不是所有的另外,作为整个学院的人事管理系统,其安全性不容忽视。所以上述的两大部分的功能不能对任何使用者无条件开放。因此,系统中拟设定两类权限:普通用户和管理人员。普通用户:只拥有查询数据表中数据的权力。管理人员:拥有对数据表中数据的查询以及数据处理的权力。并且拥有添加或删除用户的权力。人事管理系统流程登陆系统,根据用户权限显示用户可以使用的功能人事管理系统基本信息模块部门信息模块科室信息模块工作变动信息模块职务变动信息模块职称变动信息模块教学信息模块查询模块数据处理用户管理数据浏览数据添加数据删除数据修改添加用户删除用户修改密码退出管理系统4.2 系统设计详细设计图 二4.3 界面设计(一)登录界面设计启动人事管理系统,在输入框里输入用户名称和用户密码,完成登录操作进入该系统的菜单主界面。根据用户的使用权限,普通用户可以使用查询系统下拉菜单里的各项功能,和用户管理下拉菜单的修改密码功能;管理人员可以使用查询系统、管理系统以及用户管理下拉菜单中的所有功能。(登录界面如图三)其确定按钮的程序代码如下:static void Main() /Application.Run(new Form1();/private void Form1_Load(object sender, System.EventArgs e)string str = select * from UserInfo;Base bb = new Base();DataTable dt = new DataTable();dt = bb.ExeSQLdt(str);for(int i = 0 ; i 0)this.dataGrid1.UnSelect(cm.Position );cm.Position -= 1;this.dataGrid1.Select(cm.Position);this.dataGrid1.CurrentRowIndex = cm.Position;break;case 下记录:if(cm.Position cm.Count - 1)this.dataGrid1.UnSelect(cm.Position );cm.Position += 1;this.dataGrid1.Select(cm.Position);this.dataGrid1.CurrentRowIndex = cm.Position;break;case 尾记录:if(cm.Position != cm.Count - 1)this.dataGrid1.UnSelect(cm.Position);cm.Position = cm.Count - 1;this.dataGrid1.Select(cm.Count - 1);this.dataGrid1.CurrentRowIndex = cm.Position;break;case 添加:this.insert(sender,e);break;case 修改:this.updata(sender,e);break;case 删除:this.delete(sender,e);break;case 退出:this.close(sender,e);break;case 列选择:this.colSelect(sender,e); break;case 查找:this.Search(sender,e); break;case 打印: break;#endregion注:如果选择的是人事基本信息表则不允许进行修改记录。只允许进行前边的浏览和删除操作。因为人事基本信息表中的很多项内容是不允许随便修改的。例如职务(或职称)变动是不能在人事基本信息表中直接修改的,而是在职务(或职称)变动表中记录后再在人事基本信息表中自动更改。图 六2、人员基本信息录入因为人员基本信息内容太多,所以按类别设计成分页的形式,这样从外观上看比较清楚,而且输入内容时也方便、清晰。人员基本信息中性别、部门名称、科室名称、职务名称、职称名称和是否是合同制设计成列表的形式。用户可以根据人员的情况选择列表中的内容,但不允许自己输入信息,以防止输入的信息不正确或是不符合规定。3、职务(或职称)变动录入 职务(或职称)变动录入是通过人员姓名或人员编号选择出职务(或职称)变动的人员,按确定按钮后人员的职务(或职称)信息会自动的显示出来,然后输入新的信息,按保存按钮后人员的职务(或职称)变动信息将保存在职务(或职称)变动表里,并且更改后的信息也将自动保存在人员基本信息表里,。(例:图七为职务变动录入)其中确定按钮和保存按钮的程序代码如下:private void AddForm_Load(object sender, System.EventArgs e)this.TopMost =true;if(empInfoForm.empID = insert) DBRace_cb();DBSection_cb();DBJob_cb();DBTitle_cb();if(empInfoForm.empID = update)DB();DBRace_cb();DBSection_cb();DBJob_cb();DBTitle_cb();Base b = new Base();b.ReadImage(int.Parse(empInfoForm.eif.ID),this.pictureBox1);#endregion注:代码前一段是更改人事基本信息表此人员的职务信息,后一段是把此次更改的记录保存在职务变动表中。在职务变动表中首先通过人员编号判断是否有此人员记录,如果没有则在表中添加一条新记录,如果有则更改这条记录。在职务变动表中人员编号和人员姓名的赋值来保存的。职务变动表中只保存某个人员的最后一次职务变动信息。职称变动表的程序代码与此类似。 图 七(五)用户管理设计用户管理包括添加用户、删除用户、修改密码、注销、退出部分,其中添加用户和删除用户是管理人员才可以使用的功能。修改密码、注销和退出部分是允许普通用户操作的。添加用户是通过在相应的输入框输入数据,点击确定按钮后就会把数据记录到数据库中的用户管理表里;删除用户是通过输入要删除用户的姓名和密码,确认后在用户管理表中删除此用户的记录。修改密码是用户修改密码的界面,其中用户的姓名是自动显示在界面上的,用户只需要输入原来密码和新密码就可以修改密码了。注销是更换用户的操作界面;退出是退出人事管理系统。(例:图八为添加记录)添加记录的确定按钮的程序代码如下:private void button1_Click(object sender, System.EventArgs e)#region 添加记录if(empInfoForm.empID = insert)if(Regexlib.IsValidNumber(this.No_txt.Text.Trim()string ss = select * from EmployInfo where eId= + int.Parse(this.No_txt.Text);Base bb = new Base();if(!bb.IsRead(ss)if(this.Phone_txt.Text.Trim() != )if(Regexlib.IsValidPhono(this.Phone_txt.Text.Trim()this.EenMen_txt.Text = this.No_txt.Text.Trim();this.Med_txt.Text = this.No_txt.Text.Trim();this.Wa_txt.Text = this.No_txt.Text.Trim();string str = new string11;str0 = insert into EmployInfo values( + int.Parse(this.No_txt.Text.Trim() + , + int.Parse(this.RaceId_txt.Text.Trim() + ,;str0 += int.Parse(this.SectionId_txt.Text.Trim() + , + int.Parse(this.JobId_txt.Text.Trim() + , + int.Parse(this.No_txt.Text.Trim() + ,;str0 += int.Parse(this.TitleId_txt.Text.Trim() + , + int.Parse(this.No_txt.Text.Trim() + , + int.Parse(this.No_txt.Text.Trim() + ,;str0 += int.Parse(this.No_txt.Text.Trim() + , + int.Parse(this.No_txt.Text.Trim() + , + int.Parse(this.No_txt.Text.Trim() + ,;str0 += int.Parse(this.No_txt.Text.Trim() + , + int.Parse(this.No_txt.Text.Trim() + , + int.Parse(this.No_txt.Text.Trim() + ,;str0 += int.Parse(this.No_txt.Text.Trim() + , + int.Parse(this.No_txt.Text.Trim() + , + this.Name_txt.Text + ,;str0 += this.Sex_cb.Text + , + this.Party_cb.Text + , + this.Birth_dtp.Value.ToShortDateString() + , + this.Place_cb.Text + ,;str0 += this.EmpTime_dtp.Value.ToShortDateString() + , + this.EmpType_cb.Text + , + this.Source_cb.Text + ,;str0 += this.Number_txt.Text.Trim() + , + this.Phone_txt.Text.Trim() + , + this.Adress_txt.Text + , + this.Marrige_cb.Text + ,;str0 += this.Edu_cb.Text + , + this.Pro_cb.Text + , + this.School_txt.Text + , + this.LeaveSchool_dtp.Value.ToShortDateString() + ,;str0 += this.Degree_cb.Text + , + this.App_cb.Text + ,1);str1 = insert into EndowmentInfo (endId,enId) values ( + int.Parse(this.No_txt.Text.Trim() + , + int.Parse(this.No_txt.Text.Trim() + );str2 = insert into HolidayInfo (hId) values ( + int.Parse(this.No_txt.Text.Trim() + );str3 = insert into MedicalInfo (meId,mId) values ( + int.Parse(this.No_txt.Text.Trim() + , + int.Parse(this.No_txt.Text.Trim() + );str4 = insert into PpInfo (pId) values ( + int.Parse(this.No_txt.Text.Trim() + );str5 = insert into SocietyInfo (seId) values ( + int.Parse(this.No_txt.Text.Trim() + );str6 = insert into TitleInfo (tiId) values ( + int.Parse(this.No_txt.Text.Trim() + );str7 = insert into TrainInfo (trId) values ( + int.Parse(this.No_txt.Text.Trim() + );str8 = insert into TransferInfo (traId) values (+ int.Parse(this.No_txt.Text.Trim() + );str9 = insert into WagesInfo (waId,Id) values ( + int.Parse(this.No_txt.Text.Trim() + ,+ int.Parse(this.No_txt.Text.Trim() + );str10 = insert into WorkInfo (wId) values (+ int.Parse(this.No_txt.Text.Trim() + );Base b = new Base();b.ExeSQLs(str);MessageBox.Show(添加成功!);empInfoForm.eif.Enabled = true;empInfoForm.eif.DBDataGrid();this.Close();elseMessageBox.Show(电话号码格式错误!);elsethis.EenMen_txt.Text = this.No_txt.Text.Trim();this.Med_txt.Text = this.No_txt.Text.Trim();this.Wa_txt.Text = this.No_txt.Text.Trim();string str = new string11;str0 = insert into EmployInfo values( + int.Parse(this.No_txt.Text.Trim() + , + int.Parse(this.RaceId_txt.Text.Trim() + ,;str0 += int.Parse(this.SectionId_txt.Text.Trim() + , + int.Parse(this.JobId_txt.Text.Trim() + , + int.Parse(this.No_txt.Text.Trim() + ,;str0 += int.Parse(this.TitleId_txt.Text.Trim() + , + int.Parse(this.No_txt.Text.Trim() + , + int.Parse(this.No_txt.Text.Trim() + ,;str0 += int.Parse(this.No_txt.Text.Trim() + , + int.Parse(this.No_txt.Text.Trim() + , + int.Parse(this.No_txt.Text.Trim() + ,;str0 += int.Parse(this.No_txt.Text.Trim() + , + int.Parse(this.No_txt.Text.Trim() + , + int.Parse(this.No_txt.Text.Trim() + ,;str0 += int.Parse(this.No_txt.Text.Trim() + , + int.Parse(this.No_txt.Text.Trim() + , + this.Name_txt.Text + ,;str0 += this.Sex_cb.Text + , + this.Party_cb.Text + , + this.Birth_dtp.Value.ToShortDateString() + , + this.Place_cb.Text + ,;str0 += this.EmpTime_dtp.Value.ToShortDateString() + , + this.EmpType_cb.Text + , + this.Source_cb.Text + ,;str0 += this.Number_txt.Text.Trim() + , + this.Phone_txt.Text.Trim() + , + this.Adress_txt.Text + , + this.Marrige_cb.Text + ,;str0 += this.Edu_cb.Text + , + this.Pro_cb.Text + , + this.School_txt.Text + , + this.LeaveSchool_dtp.Value.ToShortDateString() + ,;str0 += this.Degree_cb.Text + , + this.App_cb.Text + ,1);str1 = insert into EndowmentInfo (endId,enId) values ( + int.Parse(this.No_txt.Text.Trim() + , + int.Parse(this.No_txt.Text.Trim() + );str2 = insert into HolidayInfo (hId) values ( + int.Parse(this.No_txt.Text.Trim() + );str3 = insert into MedicalInfo (meId,mId) values ( + int.Parse(this.No_txt.Text.Trim() + , + int.Parse(this.No_txt.Text.Trim() + );str4 = insert into PpInfo (pId) values ( + int.Parse(this.No_txt.Text.Trim() + );str5 = insert into SocietyInfo (seId) values ( + int.Parse(this.No_txt.Text.Trim() + );str6 = insert into TitleInfo (tiId) values ( + int.Parse(this.No_txt.Text.Trim() + );str7 = insert into TrainInfo (trId) values ( + int.Parse(this.No_txt.Text.Trim() + );str8 = insert into TransferInfo (traId) values (+ int.Parse(this.No_txt.Text.Trim() + );str9 = insert into WagesInfo (waId,Id) values ( + int.Parse(this.No_txt.Text.Trim() + ,+ int.Parse(this.No_txt.Text.Trim() + );str10 = insert into WorkInfo (wId) values (+ int.Parse(this.No_txt.Text.Trim() + );Base b = new Base();b.ExeSQLs(str);MessageBox.Show(添加成功!);empInfoForm.eif.Enabled = true;empInfoForm.eif.DBDataGrid();this.Close();elseMessageBox.Show(员工编号已存在!);elseMessageBox.Show(员工编号格式不正确!);#endregion 图 八第5章 附录using System;using System.Drawing;using System.Collections;using System.ComponentModel;using System.Windows.Forms;using System.Data;using System.Data.OleDb;using System.Runtime;using System.Runtime.InteropServices;namespace PM/ / mainForm 的摘要说明。/ public class mainForm : System.Windows.Forms.Form/ 调用DLLDllImport(appface.dll)public static extern long SkinStart(string SkinFile,int nDefWinType,string CheckSum,long nType,long hInstance,long nLen);DllImport(appface.dll)public static extern long SkinRemove() ;private System.Windows.Forms.MainMenu mainMenu1;private System.Windows.Forms.MenuItem menuItem1;private System.Windows.Forms.MenuItem menuItem2;private System.Windows.Forms.MenuItem menuItem3;private System.Windows.Forms.MenuItem menuItem4;private System.Windows.Forms.MenuItem menuItem5;private System.Windows.Forms.MenuItem menuItem6;private System.Windows.Forms.MenuItem menuItem7;private System.Windows.Forms.MenuItem menuItem8;private System.Windows.Forms.MenuItem menuItem9;private System.Windows.Forms.MenuItem menuItem10;private System.Windows.Forms.MenuItem menuItem20;private System.Windows.Forms.MenuItem menuItem21;private System.Windows.Forms.MenuItem menuItem22;private System.Windows.Forms.MenuItem menuItem23;private System.Windows.Forms.MenuItem menuItem24;private System.Windows.Forms.MenuItem menuItem28;private System.Windows.Forms.MenuItem menuItem29;private System.Windows.Forms.StatusBar statusBar1;private System.Windows.Forms.StatusBarPanel statusBarPanel1;private System.Windows.Forms.StatusBarPanel statusBarPanel2;private System.Windows.Forms.StatusBarPanel statusBarPanel3;private System.Windows.Forms.StatusBarPanel statusBarPanel4;private System.ComponentModel.IContainer components;private System.Windows.Forms.MenuItem menuItem11;private System.Windows.Forms.MenuItem menuItem12;private System.Windows.Forms.MenuItem menuItem13;private System.Windows.Forms.MenuItem menuItem14;private System.Windows.Forms.MenuItem menuItem15;private System.Windows.Forms.MenuItem menuItem16;private System.Windows.Forms.MenuItem menuItem17;private System.Windows.Forms.MenuItem menuItem18;private System.Windows.Forms.MenuItem menuItem19;private System.Windows.Forms.MenuItem menuItem25;private System.Windows.Forms.MenuItem menuItem26;private System.Windows.Forms.MenuItem menuItem27;private System.Windows.Forms.MenuItem menuItem30;private System.Windows.Forms.MenuItem menuItem31; private System.Windows.Forms.MenuItem menuItem32;private System.Windows.Forms.MenuItem menuItem34;private System.Windows.Forms.MenuItem menuItem35;private System.Windows.Forms.MenuItem menuItem36;private System.Windows.Forms.MenuItem menuItem41;private System.Windows.Forms.MenuItem menuItem43;private System.Windows.Forms.MenuItem menuItem44;private System.Windows.Forms.ContextMenu contextMenu1;private System.Windows.Forms.MenuItem menuItem37; private GroupBox groupBox1; private Button button11; private Button button10; private Button button9; private Button button8; private Button button7; private Button button6; private Button button5; private Button button4; private Button button3; private Button button2; private Button button1; private Label label2;public static mainForm mf;public mainForm()/ Windows 窗体设计器支持所必需的/InitializeComponent();mf = this;/ TODO: 在InitializeComponent 调用后添加任何构造函数代码/static void Main() Form1 f = new Form1();f.ShowDialog();if(Form1.Can = true)Application.Run(new mainForm();/ / 清理所有正在使用的资源。/ / protected override void Dispose( bool disposing )if( disposing )if(components != null)components.Dispose();base.Dispose( disposing );#region Windows 窗体设计器生成的代码/ / 设计器支持所需的方法- 不要使用代码编辑器修改/ 此方法的内容。/ private void InitializeComponent() ponents = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(mainForm); this.mainMenu1 = new System.Windows.Forms.MainMenu(ponents); this.menuItem1 = new System.Windows.Forms.MenuItem(); this.menuItem30 = new System.Windows.Forms.MenuItem(); this.menuItem2 = new System.Windows.Forms.MenuItem(); this.menuItem3 = new System.Windows.Forms.MenuItem(); this.menuItem4 = new System.Windows.Forms.MenuItem(); this.menuItem5 = new System.Windows.Forms.MenuItem(); this.menuItem6 = new System.Windows.Forms.MenuItem(); this.menuItem7 = new System.Windows.Forms.MenuItem(); this.menuItem8 = new System.Windows.Forms.MenuItem(); this.menuItem9 = new System.Windows.Forms.MenuItem(); this.menuItem10 = new System.Windows.Forms.MenuItem(); this.menuItem20 = new System.Windows.Forms.MenuItem(); this.menuItem28 = new System.Windows.Forms.MenuItem(); this.menuItem29 = new System.Windows.Forms.MenuItem(); this.menuItem16 = new System.Windows.Forms.MenuItem(); this.menuItem17 = new System.Windows.Forms.MenuItem(); this.menuItem21 = new System.Windows.Forms.MenuItem(); this.menuItem22 = new System.Windows.Forms.MenuItem(); this.menuItem23 = new System.Windows.Forms.MenuItem(); this.menuItem24 = new System.Windows.Forms.MenuItem(); this.menuItem15 = new System.Windows.Forms.MenuItem(); this.menuItem13 = new System.Windows.Forms.MenuItem(); this.menuItem14 = new System.Windows.Forms.MenuItem(); this.menuItem18 = new System.Windows.Forms.MenuItem(); this.menuItem19 = new System.Windows.Forms.MenuItem(); this.menuItem11 = new System.Windows.Forms.MenuItem(); this.menuItem12 = new System.Windows.Forms.MenuItem(); this.menuItem25 = new System.Windows.Forms.MenuItem(); this.menuItem26 = new System.Windows.Forms.MenuItem(); this.menuItem27 = new System.Windows.Forms.MenuItem(); this.menuItem34 = new System.Windows.Forms.MenuItem(); this.menuItem35 = new System.Windows.Forms.MenuItem(); this.menuItem36 = new System.Windows.Forms.MenuItem(); this.menuItem41 = new System.Windows.Forms.MenuItem(); this.menuItem43 = new System.Windows.Forms.MenuItem(); this.menuItem44 = new System.Windows.Forms.MenuItem(); this.menuItem37 = new System.Windows.Forms.MenuItem(); this.menuItem31 = new System.Windows.Forms.MenuItem(); this.menuItem32 = new System.Windows.Forms.MenuItem(); this.statusBar1 = new System.Windows.Forms.StatusBar(); this.statusBarPanel1 = new System.Windows.Forms.StatusBarPanel(); this.statusBarPanel2 = new System.Windows.Forms.StatusBarPanel(); this.statusBarPanel3 = new System.Windows.Forms.StatusBarPanel(); this.statusBarPanel4 = new System.Windows.Forms.StatusBarPanel(); this.contextMenu1 = new System.Windows.Forms.ContextMenu(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.label2 = new System.Windows.Forms.Label(); this.button11 = new System.Windows.Forms.Button(); this.button10 = new System.Windows.Forms.Button(); this.button9 = new System.Windows.Forms.Button(); this.button8 = new System.Windows.Forms.Button(); this.button7 = new System.Windows.Forms.Button(); this.button6 = new System.Windows.Forms.Button(); this.button5 = new System.Windows.Forms.Button(); this.button4 = new System.Windows.Forms.Button(); this.button3 = new System.Windows.Forms.Button(); this.button2 = new System.Windows.Forms.Button(); this.button1 = new System.Windows.Forms.Button(); (System.ComponentModel.ISupportInitialize)(this.statusBarPanel1).BeginInit(); (System.ComponentModel.ISupportInitialize)(this.statusBarPanel2).BeginInit(); (System.ComponentModel.ISupportInitialize)(this.statusBarPanel3).BeginInit(); (System.ComponentModel.ISupportInitialize)(this.statusBarPanel4).BeginInit(); this.groupBox1.SuspendLayout(); this.SuspendLayout(); / / mainMenu1 / this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem this.menuItem1, this.menuItem20, this.menuItem11, this.menuItem25, this.menuItem31); / / menuItem1 / this.menuItem1.Index = 0; this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem this.menuItem30, this.menuItem2, this.menuItem3, this.menuItem4, this.menuItem5, this.menuItem6, this.menuItem7, this.menuItem8, this.menuItem9, this.menuItem10); this.menuItem1.Text = 文件 ; / / menuItem30 / this.menuItem30.Index = 0; this.menuItem30.Text = 用户权限设置; this.menuItem30.Click += new System.EventHandler(this.menuItem30_Click); / / menuItem2 / this.menuItem2.Index = 1; this.menuItem2.Text = 添加用户; this.menuItem2.Click += new System.EventHandler(this.menuItem2_Click); / / menuItem3 / this.menuItem3.Index = 2; this.menuItem3.Text = -; / / menuItem4 / this.menuItem4.Index = 3; this.menuItem4.Text = 部门设置; this.menuItem4.Click += new System.EventHandler(this.menuItem4_Click); / / menuItem5 / this.menuItem5.Index = 4; this.menuItem5.Text = 其他选项设置; this.menuItem5.Click += new System.EventHandler(this.menuItem5_Click); / / menuItem6 / this.menuItem6.Index = 5; this.menuItem6.Text = -; / / menuItem7 / this.menuItem7.Index = 6; this.menuItem7.Text = 更改密码; this.menuItem7.Click += new System.EventHandler(this.menuItem7_Click); / / menuItem8 / this.menuItem8.Index = 7; this.menuItem8.Text = 重新登陆; this.menuItem8.Click += new System.EventHandler(this.menuItem8_Click); / / menuItem9 / this.menuItem9.Index = 8; this.menuItem9.Text = -; / / menuItem10 / this.menuItem10.Index = 9; this.menuItem10.Text = 退出系统; this.menuItem10.Click += new System.EventHandler(this.menuItem10_Click); / / menuItem20 / this.menuItem20.Index = 1; this.menuItem20.MenuItems.AddRange(new System.Windows.Forms.MenuItem this.menuItem28, this.menuItem29, this.menuItem16, this.menuItem17, this.menuItem21, this.menuItem22, this.menuItem23, this.menuItem24, this.menuItem15, this.menuItem13, this.menuItem14, this.menuItem18, this.menuItem19); this.menuItem20.Text = 人事 ; this.menuItem20.Click += new System.EventHandler(this.menuItem20_Click); / / menuItem28 / this.menuItem28.Index = 0; this.menuItem28.Text = 人员档案; this.menuItem28.Click += new System.EventHandler(this.menuItem28_Click); / / menuItem29 / this.menuItem29.Index = 1; this.menuItem29.Text = -; / / menuItem16 / this.menuItem16.Index = 2; this.menuItem16.Text = 社会关系; this.menuItem16.Click += new System.EventHandler(this.menuItem16_Click); / / menuItem17 / this.menuItem17.Index = 3; this.menuItem17.Text = 工作关系; this.menuItem17.Click += new System.EventHandler(this.menuItem17_Click); / / menuItem21 / this.menuItem21.Index = 4; this.menuItem21.Text = 部门调动; this.menuItem21.Click += new System.EventHandler(this.menuItem21_Click); / / menuItem22 / this.menuItem22.Index = 5; this.menuItem22.Text = 职称评定; this.menuItem22.Click += new System.EventHandler(this.menuItem22_Click); / / menuItem23 / this.menuItem23.Index = 6; this.menuItem23.Text = 休假记录; this.menuItem23.Click += new System.EventHandler(this.menuItem23_Click); / / menuItem24 / this.menuItem24.Index = 7; this.menuItem24.Text = 奖励与惩罚; this.menuItem24.Click += new System.EventHandler(this.menuItem24_Click); / / menuItem15 / this.menuItem15.Index = 8; this.menuItem15.Text = 培训记录; this.menuItem15.Click += new System.EventHandler(this.menuItem15_Click); / / menuItem13 / this.menuItem13.Index = 9; this.menuItem13.Text = -; / / menuItem14 / this.menuItem14.Index = 10; this.menuItem14.Text = 工资记录; this.menuItem14.Click += new System.EventHandler(this.menuItem14_Click); / / menuItem18 / this.menuItem18.Index = 11; this.menuItem18.Text = 养老保险记录; this.menuItem18.Click += new System.EventHandler(this.menuItem18_Click); / / menuItem19 / this.menuItem19.Index = 12; this.menuItem19.Text = 医疗保险记录; this.menuItem19.Click += new System.EventHandler(this.menuItem19_Click); / / menuItem11 / this.menuItem11.Index = 2; this.menuItem11.MenuItems.AddRange(new System.Windows.Forms.MenuItem this.menuItem12); this.menuItem11.Text = 统计 ; / / menuItem12 / this.menuItem12.Index = 0; this.menuItem12.Text = 统计数据; this.menuItem12.Click += new System.EventHandler(this.menuItem12_Click); / / menuItem25 / this.menuItem25.Index = 3; this.menuItem25.MenuItems.AddRange(new System.Windows.Forms.MenuItem this.menuItem26, this.menuItem27, this.menuItem34, this.menuItem37); this.menuItem25.Text = 工具 ; / / menuItem26 / this.menuItem26.Index = 0; this.menuItem26.Text = 记事本; this.menuItem26.Click += new System.EventHandler(this.menuItem26_Click); / / menuItem27 / this.menuItem27.Index = 1; this.menuItem27.Text = 计算器; this.menuItem27.Click += new System.EventHandler(this.menuItem27_Click); / / menuItem34 / this.menuItem34.Index = 2; this.menuItem34.MenuItems.AddRange(new System.Windows.Forms.MenuItem this.menuItem35, this.menuItem36, this.menuItem41, this.menuItem43, this.menuItem44); this.menuItem34.Text = 更换界面皮肤; this.menuItem34.Click += new System.EventHandler(this.menuItem34_Click); / / menuItem35 / this.menuItem35.Index = 0; this.menuItem35.Text = GtClassic.urf; this.menuItem35.Click += new System.EventHandler(this.menuItem35_Click); / / menuItem36 / this.menuItem36.Index = 1; this.menuItem36.Text = sap_af.urf; this.menuItem36.Click += new System.EventHandler(this.menuItem36_Click); / / menuItem41 / this.menuItem41.Index = 2; this.menuItem41.Text = GtBase.urf; this.menuItem41.Click += new System.EventHandler(this.menuItem41_Click); / / menuItem43 / this.menuItem43.Index = 3; this.menuItem43.Text = BluePinna.urf; this.menuItem43.Click += new System.EventHandler(this.menuItem43_Click); / / menuItem44 / this.menuItem44.Index = 4; this.menuItem44.Text = 取消皮肤; this.menuItem44.Click += new System.EventHandler(this.menuItem44_Click); / / menuItem37 / this.menuItem37.Index = 3; this.menuItem37.Text = 照相; this.menuItem37.Click += new System.EventHandler(this.menuItem37_Click); / / menuItem31 / this.menuItem31.Index = 4; this.menuItem31.MenuItems.AddRange(new System.Windows.Forms.MenuItem this.menuItem32); this.menuItem31.Text = 帮助 ; / / menuItem32 / this.menuItem32.Index = 0; this.menuItem32.Text = 用户帮助; this.menuItem32.Click += new System.EventHandler(this.menuItem32_Click); / / statusBar1 / this.statusBar1.Location = new System.Drawing.Point(0, 399); this.statusBar1.Name = statusBar1; this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel this.statusBarPanel1, this.statusBarPanel2, this.statusBarPanel3, this.statusBarPanel4); this.statusBar1.ShowPanels = true; this.statusBar1.Size = new System.Drawing.Size(936, 22); this.statusBar1.TabIndex = 1; / / statusBarPanel1 / this.statusBarPanel1.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Spring; this.statusBarPanel1.Name = statusBarPanel1; this.statusBarPanel1.Width = 229; / / statusBarPanel2 / this.statusBarPanel2.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Spring; this.statusBarPanel2.Name = statusBarPanel2; this.statusBarPanel2.Width = 229; / / statusBarPanel3 / this.statusBarPanel3.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Spring; this.statusBarPanel3.Name = statusBarPanel3; this.statusBarPanel3.Width = 229; / / statusBarPanel4 / this.statusBarPanel4.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Spring; this.statusBarPanel4.Name = statusBarPanel4; this.statusBarPanel4.Width = 229; / / contextMenu1 / this.contextMenu1.Popup += new System.EventHandler(this.contextMenu1_Popup); / / groupBox1 / this.groupBox1.Controls.Add(this.label2); this.groupBox1.Controls.Add(this.button11); this.groupBox1.Controls.Add(this.button10); this.groupBox1.Controls.Add(this.button9); this.groupBox1.Controls.Add(this.button8); this.groupBox1.Controls.Add(this.button7); this.groupBox1.Controls.Add(this.button6); this.groupBox1.Controls.Add(this.button5); this.groupBox1.Controls.Add(this.button4); this.groupBox1.Controls.Add(this.button3); this.groupBox1.Controls.Add(this.button2); this.groupBox1.Controls.Add(this.button1); this.groupBox1.Location = new System.Drawing.Point(0, 0); this.groupBox1.Name = groupBox1; this.groupBox1.Size = new System.Drawing.Size(99, 365); this.groupBox1.TabIndex = 3; this.groupBox1.TabStop = false; / / label2 / this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(10, 17); this.label2.Name = label2; this.label2.Size = new System.Drawing.Size(77, 12); this.label2.TabIndex = 6; this.label2.Text = 人事管理菜单; / / button11 / this.button11.Location = new System.Drawing.Point(12, 332); this.button11.Name = button11; this.button11.Size = new System.Drawing.Size(75, 23); this.button11.TabIndex = 14; this.button11.Text = 医疗保险; this.button11.UseVisualStyleBackColor = true; this.button11.Click += new System.EventHandler(this.menuItem19_Click); / / button10 / this.button10.Location = new System.Drawing.Point(12, 303); this.button10.Name = button10; this.button10.Size = new System.Drawing.Size(75, 23); this.button10.TabIndex = 13; this.button10.Text = 养老保险; this.button10.UseVisualStyleBackColor = true; this.button10.Click += new System.EventHandler(this.menuItem18_Click); / / button9 / this.button9.Location = new System.Drawing.Point(12, 274); this.button9.Name = button9; this.button9.Size = new System.Drawing.Size(75, 23); this.button9.TabIndex = 12; this.button9.Text = 工资记录; this.button9.UseVisualStyleBackColor = true; this.button9.Click += new System.EventHandler(this.menuItem14_Click); / / button8 / this.button8.Location = new System.Drawing.Point(12, 245); this.button8.Name = button8; this.button8.Size = new System.Drawing.Size(75, 23); this.button8.TabIndex = 11; this.button8.Text = 培训记录; this.button8.UseVisualStyleBackColor = true; this.button8.Click += new System.EventHandler(this.menuItem15_Click); / / button7 / this.button7.Location = new System.Drawing.Point(12, 216); this.button7.Name = button7; this.button7.Size = new System.Drawing.Size(75, 23); this.button7.TabIndex = 10; this.button7.Text = 奖励惩罚; this.button7.UseVisualStyleBackColor = true; this.button7.Click += new System.EventHandler(this.menuItem24_Click); / / button6 / this.button6.Location = new System.Drawing.Point(12, 187); this.button6.Name = button6; this.button6.Size = new System.Drawing.Size(75, 23); this.button6.TabIndex = 9; this.button6.Text = 休假记录; this.button6.UseVisualStyleBackColor = true; this.button6.Click += new System.EventHandler(this.menuItem23_Click); / / button5 / this.button5.Location = new System.Drawing.Point(12, 158); this.button5.Name = button5; this.button5.Size = new System.Drawing.Size(75, 23); this.button5.TabIndex = 8; this.button5.Text = 职称评定; this.button5.UseVisualStyleBackColor = true; this.button5.Click += new System.EventHandler(this.menuItem22_Click); / / button4 / this.button4.Location = new System.Drawing.Point(12, 129); this.button4.Name = button4; this.button4.Size = new System.Drawing.Size(75, 23); this.button4.TabIndex = 7; this.button4.Text = 部门调动; this.button4.UseVisualStyleBackColor = true; this.button4.Click += new System.EventHandler(this.menuItem21_Click); / / button3 / this.button3.Location = new System.Drawing.Point(12, 100); this.button3.Name = button3; this.button3.Size = new System.Drawing.Size(75, 23); this.button3.TabIndex = 6; this.button3.Text = 工作关系; this.button3.UseVisualStyleBackColor = true; this.button3.Click += new System.EventHandler(this.menuItem17_Click); / / button2 / this.button2.Location = new System.Drawing.Point(12, 71); this.button2.Name = button2; this.button2.Size = new System.Drawing.Size(75, 23); this.button2.TabIndex = 5; this.button2.Text = 社会关系; this.button2.UseVisualStyleBackColor = true; this.button2.Click += new System.EventHandler(this.menuItem16_Click); / / button1 / this.button1.Location = new System.Drawing.Point(12, 42); this.button1.Name = button1; this.button1.Size = new System.Drawing.Size(75, 23); this.button1.TabIndex = 4; this.button1.Text = 人员档案; this.button1.UseVisualStyleBackColor = true; this.button1.Click += new System.EventHandler(this.menuItem28_Click); / / mainForm / this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.BackgroundImage = (System.Drawing.Image)(resources.GetObject($this.BackgroundImage); this.ClientSize = new System.Drawing.Size(936, 421); this.ContextMenu = this.contextMenu1; this.Controls.Add(this.groupBox1); this.Controls.Add(this.statusBar1); this.Icon = (System.Drawing.Icon)(resources.GetObject($this.Icon); this.IsMdiContainer = true; this.Menu = this.mainMenu1; this.Name = mainForm; this.RightToLeft = System.Windows.Forms.RightToLeft.No; this.Text = 主界面; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Closing += new System.ComponentModel.CancelEventHandler(this.mainForm_Closing); this.Load += new System.EventHandler(this.mainForm_Load); (System.ComponentModel.ISupportInitialize)(this.statusBarPanel1).EndInit(); (System.ComponentModel.ISupportInitialize)(this.statusBarPanel2).EndInit(); (System.ComponentModel.ISupportInitialize)(this.statusBarPanel3).EndInit(); (System.ComponentModel.ISupportInitialize)(this.statusBarPanel4).EndInit(); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); this.ResumeLayout(false);#endregion #region 判断一个窗体是否存在,不存在就显示,存在就不显示public bool CheckForm(string FormName)foreach(Form form in this.MdiChildren)if(form.Name = FormName)if(form.WindowState=FormWindowState.Minimized)form.WindowState=FormWindowState.Normal;form.Activate();return true;return false;#endregionprivate void mainForm_Load(object sender, System.EventArgs e)this.Enabled = true;this.statusBarPanel3.Text = 当前操作员: + Form1.f1.Cmb;switch(Form1.f1.power)case 系统管理员:this.menuItem2.Enabled = true;this.menuItem30.Enabled = true; break;case 管理员:this.menuItem2.Enabled = false;this.menuItem30.Enabled = false; break;case 一般用户:this.menuItem2.Enabled = false;this.menuItem30.Enabled = false;this.menuItem4.Enabled = false;this.menuItem5.Enabled = false; break;default :this.menuItem2.Enabled = false;this.menuItem30.Enabled = false;this.menuItem4.Enabled = false;this.menuItem5.Enabled = false;break;#region 菜单按钮事件/显示操作员权限设置界面private void menuItem2_Click(object sender, System.EventArgs e)if(this.CheckForm(OperationForm) = true)return;else OperationForm of = new OperationForm();of.MdiParent = this;of.Show();/显示部门设置界面private void menuItem4_Click(object sender, System.EventArgs e)if(this.CheckForm(sessionForm) = true)return;else sessionForm sf = new sessionForm();sf.MdiParent = this;sf.Show();/显示其他选项设置界面private void menuItem5_Click(object sender, System.EventArgs e)if(this.CheckForm(otherForm) = true)return;else otherForm otf = new otherForm();otf.MdiParent = this;otf.Show();/显示更改密码界面private void menuItem7_Click(object sender, System.EventArgs e)if(this.CheckForm(uppasswordForm) = true)return;else uppasswordForm uf = new uppasswordForm();uf.MdiParent = this;uf.Show();/显示登陆界面private void menuItem8_Click(object sender, System.EventArgs e)if(this.CheckForm(Form1) = true) return;else Form1 f1 = new Form1();f1.MdiParent = this;f1.Show();/退出系统private void menuItem10_Click(object sender, System.EventArgs e)DialogResult result;result=MessageBox.Show(是否退出本系统?,提示!,MessageBoxButtons.YesNo);if(result=DialogResult.Yes)this.Close();if(result=DialogResult.No)this.Show();/显示人员档案界面private void menuItem28_Click(object sender, System.EventArgs e)if(this.CheckForm(empInfoForm) = true) return;else empInfoForm eif = new empInfoForm();eif.MdiParent = this;eif.Show();/显示调动界面private void menuItem21_Click(object sender, System.EventArgs e)if(this.CheckForm(TransferForm) = true)return;else TransferForm tff = new TransferForm();tff.MdiParent = this;tff.Show();/显示职称评定界面private void menuItem22_Click(object sender, System.EventArgs e)if(this.CheckForm(TitleInfoForm) = true)return;elseTitleInfoForm tiff = new TitleInfoForm();tiff.MdiParent = this;tiff.Show();/显示休假记录界面private void menuItem23_Click(object sender, System.EventArgs e)if(this.CheckForm(HolidayInfoForm) = true) return;else HolidayInfoForm hif = new HolidayInfoForm();hif.MdiParent = this;hif.Show();/显示奖励与惩罚界面private void menuItem24_Click(object sender, System.EventArgs e)if(this.CheckForm(PpInfoForm) = true)return;elsePpInfoForm ppff = new PpInfoForm();ppff.MdiParent = this;ppff.Show();/显示统计数据界面private void menuItem12_Click(object sender, System.EventArgs e)if(this.CheckForm(StatisticsDataForm) = true)return;elseStatisticsDataForm sdf = new StatisticsDataForm();sdf.MdiParent = this;sdf.Show();/显示社会关系界面private void menuItem16_Click(object sender, System.EventArgs e)if(this.CheckForm(SocietyInfoForm) = true)return;elseSocietyInfoForm siff = new SocietyInfoForm();siff.MdiParent = this;siff.Show();/显示工作关系界面private void menuItem17_Click(object sender, System.EventArgs e)if(this.CheckForm(WorkInfoForm) = true)return;elseWorkInfoForm wif = new WorkInfoForm();wif.MdiParent = this;wif.Show();/显示培训记录界面private void menuItem15_Click(object sender, System.EventArgs e)if(this.CheckForm(TrainInfoForm) = true)return;elseTrainInfoForm tf = new TrainInfoForm();tf.MdiParent = this;tf.Show();/显示工资记录界面private void menuItem14_Click(object sender, System.EventArgs e)if(this.CheckForm(WagesInfoForm) = true)return;elseWagesInfoForm wff = new WagesInfoForm();wff.MdiParent = this;wff.Show();/显示养老保险记录private void menuItem18_Click(object sender, System.EventArgs e)if(this.CheckForm(EndowmentInfoForm) = true)return;elseEndowmentInfoForm emf = new EndowmentInfoForm();emf.MdiParent = this;emf.Show();/显示医疗保险记录private void menuItem19_Click(object sender, System.EventArgs e) if(this.CheckForm(MedicalInfoForm) = true)return;elseMedicalInfoForm mif = new MedicalInfoForm();mif.MdiParent = this;mif.Show();/调用系统的记事本private void menuItem26_Click(object sender, System.EventArgs e)System.Diagnostics.Process.Start(notepad.exe);/调用系统的计算器private void menuItem27_Click(object sender, System.EventArgs e) System.Diagnostics.Process.Start(calc.exe);private void menuItem30_Click(object sender, System.EventArgs e)if(this.CheckForm(PowerSet) = true)return;elsePowerSet ps = new PowerSet();ps.MdiParent = this;ps.Show();private void menuItem33_Click(object sender, System.EventArgs e)if(this.CheckForm(AboutForm) = true)return;elseAboutForm af = new AboutForm();af.MdiParent = this;af.Show(); #endregionprivate void menuItem34_Click(object sender, System.EventArgs e)#region 调用软件皮肤文件private void menuItem35_Click(object sender, System.EventArgs e) SkinStart(GtClassic.urf,0,1,0,0);private void menuItem36_Click(object sender, System.EventArgs e) SkinStart(sap_af.urf,0,1,0,0);private void menuItem41_Click(object sender, System.EventArgs e) SkinStart(GtBase.urf,0,1,0,0);private void menuItem43_Click(object sender, System.EventArgs e) SkinStart(BluePinna.urf,0,1,0,0);private void menuItem44_Click(object sender, System.EventArgs e) SkinStart(,0,1,0,0);#endregion#region 右键快捷菜单private void contextMenu1_Popup(object sender, System.EventArgs e)if(this.contextMenu1.SourceControl = this)this.contextMenu1.MenuItems.Clear();this.contextMenu1.MenuItems.Add(文件);this.contextMenu1.MenuItems0.MenuItems.Add(用户权限设置,new EventHandler(this.menuItem30_Click);this.contextMenu1.MenuItems0.MenuItems.Add(添加用户,new EventHandler(this.menuItem2_Click);this.contextMenu1.MenuItems0.MenuItems.Add(部门设置,new EventHandler(this.menuItem4_Click);this.contextMenu1.MenuItems0.MenuItems.Add(其他选项设置,new EventHandler(this.menuItem5_Click);this.contextMenu1.MenuItems0.MenuItems.Add(更改密码,new EventHandler(this.menuItem7_Click);this.contextMenu1.MenuItems0
温馨提示:
1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
2: 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
3.本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
提示  人人文库网所有资源均是用户自行上传分享,仅供网友学习交流,未经上传用户书面授权,请勿作他用。
关于本文
本文标题:人力资源管理系统
链接地址:https://www.renrendoc.com/p-58684259.html

官方联系方式

2:不支持迅雷下载,请使用浏览器下载   
3:不支持QQ浏览器下载,请用其他浏览器   
4:下载后的文档和图纸-无水印   
5:文档经过压缩,下载后原文更清晰   
关于我们 - 网站声明 - 网站地图 - 资源地图 - 友情链接 - 网站客服 - 联系我们

网站客服QQ:2881952447     

copyright@ 2020-2025  renrendoc.com 人人文库版权所有   联系电话:400-852-1180

备案号:蜀ICP备2022000484号-2       经营许可证: 川B2-20220663       公网安备川公网安备: 51019002004831号

本站为文档C2C交易模式,即用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知人人文库网,我们立即给予删除!