private void ContextMenuStrip1_Opening(object sender, CancelEventArgs e) { e.Cancel = this.ListsCheckedListBox.SelectedItem == null; }