Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void Form1_Load_1(object sender, EventArgs e)
- {
- listBox3.Items.Clear();
- string[] dirs = Directory.GetDirectories("C:\Users\foo\Desktop\test");
- foreach (string dir in dirs)
- {
- listBox3.Items.Add(dir);
- }
- }
- Listbox.Items = foo;
- function(foo);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement