private void btnFill1_Click(object sender, System.EventArgs e) { AddItems();}private void AddItems(){ try { // Remove existing items from the control. lstProcessesAddItem.Items.Clear(); // Fill the control. Indicate which member of // the items added to the list box should be // displayed. lstProcessesAddItem.DisplayMember = "ProcessName"; foreach(Process prc in Process.GetProcesses() ) { lstProcessesAddItem.Items.Add(prc); } lstProcessesAddItem.Sorted = true; } catch(Exception exp) { MessageBox.Show(exp.Message, this.Text); }}