private void copyAll(object sender, EventArgs args) { copiedEntry = offsetListBox.SelectedItem as InflictStatus; }