i have just got a problem, i have a form with about 30 text boxes.
i have made these event hundlers to handle got focus and lose focus events
Expand|Select|Wrap|Line Numbers
- private void gf(object sender, EventArgs e)
- {
- name.BackColor=System.Drawing.SystemColors.Info;
- }
- private void lf(object sender, EventArgs e)
- {
- name.BackColor = System.Drawing.SystemColors.Window;
- }
is there a way to apply the same event hundler to all form textboxes without making event handler for every one of my 30 textboxes ??
thx in advance.