管理员工.cs
(开头部分) 8KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Collections;
namespace 人事工资管理系统
{
public partial class 管理员工 : Form
{ string sql2=null;
Staff st=new Staff();
管理员主界面 gl;
MyDB sqlHelper = new MyDB();
public 管理员工()
{
InitializeComponent();
}
public void setGl(管理员主界面 gl) {
this.gl = gl;
}
public void setId(int a) {
st.setId(a);
if (comboBox2.Items.Count <= 0)
{
getbmh();
}
setDepartment();
}
public void setVisible(int a) { //设置页面隐藏
bool t ;
bool f ;
if (a == 1)
{
t = false;
f = true;
}
else {
t = true;
f = false;
}
button4.Visible=button2.Visible=comboBox1.Visible= label8.Visible = label1.Visible=label9.Visible = f;
button3.Visible = t;
textBox1.Text = textBox2.Text = textBox3.Text = textBox4.Text = "";
}
public void getbmh()//查找部门
{
string sql1 = "select id ,name from department_info ";
Dictionary<string, Object> dic = new Dictionary<string, Object>();
ArrayList al = new ArrayList();
al = sqlHelper.SelectInfo(sql1, dic);
if (al != null && al.Count > 0)//判断是有该数据
后面还有 178 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
