private void lstComputed_SelectedIndexChanged(object sender, EventArgs e) { btnEditComputed.Enabled = lstComputed.SelectedItems.Count > 0; }