/// <summary> /// Click event handler for the buttonDeleteColorRamp object. /// </summary> /// <param name="sender">The source object of this event.</param> /// <param name="e">The event parameters.</param> private void buttonDeleteColorRamp_Click(object sender, EventArgs e) { colorRampPicker.DeleteValue(listBoxColorRamp.SelectedItem.ToString()); colorRampPicker.UpdateListBox(listBoxColorRamp); }