private void PlannerListBox_Copy(object sender, RoutedEventArgs e) { try { string plannerCopyName = GeneratePlannerCopyName(PlannerListBox.SelectedItem.ToString()); DbAdapter.CopyPlanner(this.Participant.Name, PlannerListBox.SelectedItem.ToString(), plannerCopyName); AdjustPlannerListBox(); } catch (Exception exception) { MessageBox.Show(exception.Message); } }