G
George Chatzigeorgiou
Hi all.
Since I started with .net I have this feeling, that there is no easy way
of validating mulitple controls on forms, menus etc. Suppose our
application has an MDI , a toolbar , a menu, and some child forms. If I
want to update all controls (toolbar buttons, menu items etc), I have to
capture all events of all controls that affect the states of the
controls mentioned. Be for I go on and write something of my own,
thought I make sure I'm not missing anything important here.
I used to work with another framework, where things on this matter were
much simpler. You could capture an Application.OnUpdate event, and put
all your validation code in there. You could do everything with two or
three methods, and then just assign the OnUpdate event of every control
to the desired method. So I'm wondering if there is anything like it, in
the .net framework.
Thanks for any help
Since I started with .net I have this feeling, that there is no easy way
of validating mulitple controls on forms, menus etc. Suppose our
application has an MDI , a toolbar , a menu, and some child forms. If I
want to update all controls (toolbar buttons, menu items etc), I have to
capture all events of all controls that affect the states of the
controls mentioned. Be for I go on and write something of my own,
thought I make sure I'm not missing anything important here.
I used to work with another framework, where things on this matter were
much simpler. You could capture an Application.OnUpdate event, and put
all your validation code in there. You could do everything with two or
three methods, and then just assign the OnUpdate event of every control
to the desired method. So I'm wondering if there is anything like it, in
the .net framework.
Thanks for any help