private void watchesContextMenuStrip_Opening(object sender, CancelEventArgs e) { if (watchesListView.SelectedIndices.Count == 0) e.Cancel = true; }