企业人事管理系统 下载本文

break;

case \员工合同提示\:

InfoAddForm.F_ClewSet FrmClewSet2= new PWMS.InfoAddForm.F_ClewSet();

FrmClewSet2.Text = \员工生日提示\; //设置窗体名称 FrmClewSet2.Tag = 1; //设置窗体的Tag属性,用于在打开窗体时判断窗体的显示类形

FrmClewSet2.ShowDialog(); //显示窗体 FrmClewSet2.Dispose(); break;

case \日常记事\:

PerForm.F_WordPad FrmWordPad = new PWMS.PerForm.F_WordPad();

FrmWordPad.Text = \日常记事\; FrmWordPad.ShowDialog(); FrmWordPad.Dispose(); break; case \通讯录\:

PerForm.F_AddressList FrmAddressList = new PWMS.PerForm.F_AddressList();

FrmAddressList.Text = \通讯录\; FrmAddressList.ShowDialog(); FrmAddressList.Dispose(); break;

case \备份/还原数据库\:

PerForm.F_HaveBack FrmHaveBack = new PWMS.PerForm.F_HaveBack();

FrmHaveBack.Text = \备份/还原数据库\; FrmHaveBack.ShowDialog(); FrmHaveBack.Dispose(); break;

case \重新登陆\:

F_Login FrmLogin = new F_Login(); FrmLogin.Tag = 2;

FrmLogin.ShowDialog(); FrmLogin.Dispose(); break;

case \用户设置\:

PerForm.F_User FrmUser = new PWMS.PerForm.F_User(); FrmUser.Text = \用户设置\; FrmUser.ShowDialog(); FrmUser.Dispose(); break; case \计算器\:

System.Diagnostics.Process.Start(\); break;

case \记事本\:

System.Diagnostics.Process.Start(\); break;

case \版权所属\:

MessageBox.Show(\该版权属于常朝霞团队,详情请咨询该组成员\);

break;

} }

if (n == 2) {

String FrmStr = \; //记录窗体名称 switch(FrmName) {

case \民族类别设置\: //判断要打开的窗体

DataClass.MyMeans.Mean_SQL = \* from tb_Folk\; //SQL语句

DataClass.MyMeans.Mean_Table = \; //表名 DataClass.MyMeans.Mean_Field = \; //添加、修改数据的字段名

FrmStr = FrmName; break;

case \职工类别设置\:

DataClass.MyMeans.Mean_SQL = \tb_EmployeeGenre\;

DataClass.MyMeans.Mean_Table = \; DataClass.MyMeans.Mean_Field = \; FrmStr = FrmName;