private void buttonRemoveProfile_Click(object sender, EventArgs e) { foreach (DataGridViewRow row in Rows) { Span span = Spans.GetRange(row.Index, 1).Single(); span.RemoveProfile(comboProfiles.SelectedItem as Profile); } Close(); }
private void buttonRemoveProfile_Click(object sender, EventArgs e) { foreach (DataGridViewRow row in Rows) { Span span = Spans.GetRange(row.Index, 1).Single(); span.RemoveProfile(comboProfiles.SelectedItem as Profile); } Close(); }