Composite UI Application Block

  • Extending the Event Broker
    • SCSF Version: All
    • Description: Integrating CAB and Neuron. Sample about how to extend the Event Broker.
  • Application settings
    • SCSF Version: All
    • Description: Question about how to set in the child windows some settings like location or size.
  • NEWBIE - MDI Questions
    • SCSF Version: All
    • Description: Question about how to show views in a MDI child form using SCSF. MdiWorkspace description.
  • WorkItems
    • SCSF Version: All
    • Description: A quick initial look at WorkItems, explaining their importance both as containers of code and as a hierarchy that allows us to control the scope of the code.
  • Introduction to Dependency Injection
    • SCSF Version: All
    • Description: A discussion of dependency injection and why it’s useful in general, without reference to the Composite Application Block. A code example is given. The relationship to the strategy pattern is examined, as well as the various different types of dependency injection.
  • Dependency Injection and the Composite Application Block
    • SCSF Version: All
    • Description: This article finally revisits the Composite Application Block, showing how we can use dependency injection to get hold of WorkItems in projects that are not conventionally referenced, and hence access the objects in their containers. It discusses the various ways of doing dependency injection in the CAB using the attributes ComponentDependency, ServiceDependency and CreateNew, and gives an example illustrating this. It further discusses the ObjectBuilder briefly, and explains how dependency injection works in the WorkItems hierarchy.
  • Introduction to UIExtensionSites
    • SCSF Version: All
    • Description: Explains what UIExtensionSites are at a high level, and gives a basic example that shows how to use them to construct ToolStrips in a Composite Application that have different buttons contributed by different modules.
  • More On UIExtensionSites
    • SCSF Version: All
    • Description: Gives more detail on how we can use UIExtensionSites, but is sceptical as to their value. Examines why this is. Discusses the Adapter Design Pattern and how we can use it to generate UIExtensionSites for user interface elements other than the standard ToolStrips, MenuStrips and StatusStrips.
  • Introduction to SmartParts and Workspaces
    • SCSF Version: All
    • Description: Explains what SmartParts and Workspaces are at a high level. Discusses the two SmartParts collections and why this can be confusing. Looks at the usage of the SmartPart attribute.
  • Forms as Smartparts
    • SCSF Version: 2.0
    • Description: Question about how to use a form as a smartpart instead of a user control.
  • Add Submenu
    • SCSF Version: All
    • Description: How to add a submenu dynamically to a MenuStrip control.
  • WorkItem.UIExtensionSites
    • SCSF Version: all
    • Description: Question about the correct way to use the UIExtensionSites collections in a WorkItem.
  • CAB Tracing
    • SCSF Version: -
    • Description: CAB is setup so it can ouput messages to a TraceSource if one has been set up.
  • Creating child workspaces
    • SCSF Version: all
    • Description: Question about how to add views containing workspaces and related them through WorkItems.
  • CAB: Handling Focus In Workspace
    • SCSF Version: all
    • Description: A problem with tabbing through a CAB application and invoking logic on a control that was not being shown.
  • Form moves to form.Location after loaded
    • SCSF Version: all
    • Description: If form.StartPosition is not set to FormStartPosition.Manual the form.Location value will not be respected during form.Show(). As a result this was compensated by moving the form to info.Location (defaults to 0,0) after the form is shown. This thread provide a possible solution for this.
  • Using Remoting with CAB
    • SCSF Version: -
    • Description: How to add a service implemented through Remoting to the WorkItem's services collection.
  • SCSF WorkItems
    • SCSF Version: -
    • Description: Exploring the WorkItem through the visualizer.
  • TDD & CAB
    • SCSF Version: All
    • Description: How to implement the SCSF OnLoadCreateModuleController test.

Last edited Sep 22, 2008 at 4:55 PM by ibaumann, version 35

Comments

No comments yet.