private void 添加薪酬ToolStripMenuItem_Click(object sender, EventArgs e) { if (gzgl == null) { gzgl = new 工资管理(); gzgl.MdiParent = this; gzgl.setGzandGl(gzgl, this); } gzgl.setVisible(0); gzgl.BringToFront(); gzgl.Show(); }
private void 薪酬管理ToolStripMenuItem_Click(object sender, EventArgs e) { if (gzgl == null) { gzgl = new 工资管理(); gzgl.MdiParent = this; gzgl.setGzandGl(gzgl, this); } if (sjshou == null) { sjshou = new 数据显示(); sjshou.MdiParent = this; } sjshou.setWz(3); sjshou.setGzgl(gzgl); string sql = "SELECT id as 工资号,staff_id as 员工号,basis as 基础工资,attendance as 出勤,performance as 效绩,other as 其他,reason as 原因,total as 总额,createdate as 更新时间 FROM wage_info "; sjshou.show(sql); sjshou.BringToFront(); sjshou.Show(); }