ControlActivationService and SimpleWorkItemActivationService

Hopefully, you have noticed, that a WorkItem is activated while one of its SmartParts respectively controls is entered?
It is independent to which of the WorkItem's collections (Item- or SmartPartCollection)  the control was added, it only has to be derived from System.Windows.Forms.Control.
This works due to the ControlActivationService of the CompositeUI.Winforms Library. If the control is entered the ControlActivationService activates the containing WorkItem. The SimpleWorkItemActivationService ensures that only one WorkItem is active.
Paulo Morgado shows us how to replace the SimpleWorkItemActivationService by an hierarchical ActivationService.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Posted by: Michael
Posted on: 7/22/2008 at 11:16 PM
Categories: CAB | SCSF
Actions: E-mail | Kick it! | DZone it! | del.icio.us
Post Information: Permalink | Comments (0) | Post RSSRSS comment feed

Related posts

Add comment


(Will show your Gravatar icon)  

  Country flag

[b][/b] - [i][/i] - [u][/u]- [quote][/quote]



Live preview

Wednesday, August 20, 2008 9:53 AM