private void PositionSB_Click(object sender, EventArgs e) { int employeeId = Convert.ToInt32(DataGV.SelectedRows[0].Cells["ID"].Value); Staff.EmployeePosition.EmployeePositionsList form = new Staff.EmployeePosition.EmployeePositionsList(employeeId); form.ShowDialog(); }
private void PositionSB_Click(object sender, EventArgs e) { int employeeId = Convert.ToInt32(DataGV.SelectedRows[0].Cells["ID"].Value); Staff.EmployeePosition.EmployeePositionsList form = new Staff.EmployeePosition.EmployeePositionsList(employeeId); form.ShowDialog(); }