private void issueUpdateButton_Click(object sender, EventArgs e) { if (dataGridView1.SelectedRows.Count == 1) { IssueUpdate.Invoke(); } }