ich möchte 4 textboxen automatisiert bearbeiten. in vb geht das so:
1 | Dim AL As New Collection |
2 | |
3 | .... |
4 | AL.Add(TextBox1) |
5 | AL.Add(TextBox2) |
6 | AL.Add(TextBox3) |
7 | AL.Add(TextBox4) |
8 | |
9 | .... |
10 | |
11 | For i = 1 To 4 |
12 | |
13 | AL(i).Text = listbox1.items[i+x].tostring |
14 | |
15 | next |
Die Umsetzung in c# klappt irgendwie nicht. Danke für Unterstützung.