FileInfo fi = new FileInfo(listBox1.SelectedItem.ToString()); string name = fi.Name; label6.Text = name; int size = Convert.ToInt32(fi.Length); label4.Text = (Convert.ToInt32(size) / 1024).ToString() + "KB"; fi.CopyTo(comboBox1.SelectedItem.ToString()+ name);
listBox.Items
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)