Control ctl = new Control;
foreach (ctl in this.Controls)
if ((ctl as TextBox) !=
null)
ctl.Text = "Hello";
by
Kohl
Vitória - ES
- Brazil
De: [email protected] [mailto:[EMAIL PROTECTED] Em nome de Nadeem
Enviada em: sábado, 23 de julho de 2005 03:49
Para: [email protected]
Assunto: [Microsofts_C_Sharp] Vb to C#
Dim Ctl as Control
For each Ctl in Me.Controls
if typeof Ctl is Textbox then
Ctl.text = "Hello"
end if
Next
SPONSORED LINKS
| Programming languages | C programming language | Computer programming languages |
| Java programming language | C programming language | History of computer programming language |
YAHOO! GROUPS LINKS
- Visit your group "Microsofts_C_Sharp" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
