Hello everybody,
So far, I like the current .NET implementation from Microsoft. However,
I have noticed some problems that make me think the people at Microsoft
haven't really moved to a modern way of doing this programming stuff
we're all in. What's my problem, you'll say... Well, the other day I was
working with the ToolBar control from the Windows Forms namespace. All
cool, create an image list, create buttons and so on... When I
double-click a button in the forms designer, I notice that the event
handler is named myToolBar_OnClick; I click another button and I get to
the same handler. To make the long story short: I wonder why the
ToolBarButton class doesn't raise a Click event of its own. The MSDN
docs say "create a switch structure and identify the button that was
clicked". It looks to me like the people at Microsoft haven't got rid of
the WndProc idiom (or I may be totally wrong, who knows?).
Unfortunately, this makes me think .NET isn't (yet) the component
oriented platform everyone's been waiting for. What do you think about
it?
Best regards,
Ovidiu Platon.

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to