private void 离职申请ToolStripMenuItem_Click(object sender, EventArgs e) { FormDimissionList frm = new FormDimissionList(m_authorityFlag); frm.ShowDialog(); RefreshControl(); PositioningRecord(frm.BillID.ToString()); }
private void dataGridView1_DoubleClick(object sender, EventArgs e) { m_Dimission = m_dimiServer.GetAllDimission(Convert.ToInt32(dataGridView1.CurrentRow.Cells["编号"].Value)); string deptName = dataGridView1.CurrentRow.Cells["部门"].Value.ToString(); string deptCode = dataGridView1.CurrentRow.Cells["部门编码"].Value.ToString(); string workPost = dataGridView1.CurrentRow.Cells["岗位"].Value.ToString(); string name = dataGridView1.CurrentRow.Cells["员工姓名"].Value.ToString(); FormDimissionList frm = new FormDimissionList(m_authorityFlag, m_Dimission, deptName, deptCode, workPost, name, m_Dimission.ID); frm.ShowDialog(); RefreshControl(); PositioningRecord(m_Dimission.ID.ToString()); }