Autor Beitrag
hui1991
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 433

Windows XP, WIndows Vista
Turbo Delphi Explorer| Delphi, PHP,Blitzbasic
BeitragVerfasst: Di 13.01.09 17:57 
Hallo,

ich habe 87*CheckBox, 14*dateTimePicker, 71*textBox.
Wie kann ich jetzt über CheckBox1 bis CheckBox87 eine Schleife drum machen, damit ich nur einmal CheckBox schreibe.
In Delphi gibt es FindComponent oder sowas ähnliches.
Wie heißt es in C#?

Danke schonmal im Vorraus.
JüTho
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2021
Erhaltene Danke: 6

Win XP Prof
C# 2.0 (#D für NET 2.0, dazu Firebird); früher Delphi 5 und Delphi 2005 Pro
BeitragVerfasst: Di 13.01.09 19:15 
Controls sind Elemente von WinForms. Also ist die Antwort ganz einfach zu finden: Suche in: C#-Forum, C#-Library FINDCOMPONENT. Jürgen