for (int i = 0; i < ListBox1.Items.Count - 1; i++) { if (ListBox1.Items[i].Selected) TextBox1.Text = ListBox1.Items[i].Text; } return null;
for (int i = 0; i < this.listBox1.SelectedItems.Count; i++) { textBox1.Text += listBox1.SelectedItems[i].ToString() + "\r\n"; }
TextBox1.Text=string.empty;
TextBox1.Text += ListBox1.Items[i].Text;
TextBox1.Text =TextBox1.Text+ ListBox1.Items[i].Text;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)