/// <summary> /// 下级人员管理 /// </summary> private void toolStripButtonChildUsers_Click(object sender, EventArgs e) { if (this.dataGridViewUsers.SelectedRows.Count <= 0) { return; } string userId = this.dataGridViewUsers.SelectedRows[0].Cells["用户编码"].Value.ToString().Trim(); UserRelationForm form = new UserRelationForm(userId); form.ShowDialog(); }
/// <summary> /// 下级人员管理 /// </summary> private void toolStripButtonChildUsers_Click(object sender, EventArgs e) { if (this.dataGridViewUsers.SelectedRows.Count <= 0) return; string userId = this.dataGridViewUsers.SelectedRows[0].Cells["用户编码"].Value.ToString().Trim(); UserRelationForm form = new UserRelationForm(userId); form.ShowDialog(); }