Linking WorkItem to UIElements

Topics: CAB & Smart Client Software Factory
Jun 7, 2005 at 2:30 AM
originally posted by: cpatterson

public ToolStripMenuItem HelpItem
get { return helpItem; }
set { helpItem = value; }

According to the above sample if I want to define a WorkItem that exposes a menu item I have to tie that WorkItem to a specific UI Framework in this case Windows.Forms. I think it would be a little cleaner to have a Method conforming to a signature or delegate that I can define in the WorkItem then decorate with the Attribute. This would allow the framework to excute the method and not tie my WorkItems to a specific UI Framework.
Jun 7, 2005 at 8:48 AM
originally posted by: PProvost


But in that last drop we didn't have any other (looser) ways to relate a method in a WorkItem to a UIElement in the shell. That has changed in the current code and you will be much happier with the next drop.
Jun 7, 2005 at 1:54 PM
originally posted by: cpatterson

Good. I can't wait to see it. Any chance of finding the latest updates in the intranet anywhere? If you don't want to post here please send to chrispat.