I develop two controls inherited from Panel(myToolBar and myMenu). I
implemented procedures of design like a ListBoxEx from OpenNETCF
(
http://www.opennetcf.org/SourceBrows...s/ListBoxEx.cs)
The myToolBar control and myMenu control have a event OnComponentAdded.
When I add a item to myToolBar, sometimes, the item is inserted em myMenu,
and vice-versa. Both events(of myToolBar and myMenu) are called.
What is wrong ? Why I know what control is received the item ? I ask excuses
for my English.
Rogério Jun