private void dataGridViewGroups_CellContentClick(object sender, DataGridViewCellEventArgs e) { if (e.ColumnIndex == dataGridViewGroups.Columns["Receivers"].Index && e.RowIndex >= 0) { AddReceiversToGroup addreceivertogroup = new AddReceiversToGroup(groups[e.RowIndex].id); addreceivertogroup.Show(); } }