Search Wiki:

Welcome to Smart Client WPF Community Site


This site is dedicated to the Smart Client Software Factory WPF Enabled mod.

This project is a modification of Microsoft Smart Client Software Factory to support building WPF based applications using Kent's WPF layer for CAB




About two weeks ago I’ve been requested by MCS Israel to adapt my Composite UI & SCSF mentoring & training to support the development of Composite UI applications based on WPF using Kents WPF layer.

SCSF provide lots of benefits to the Composite UI (CAB) developer and as such i've decided to modify the SCSF build-in recopies to support Kents layer and provide a rapid way of building Composite UI based on WPF applications.

The Software Factory pre requisites are the same as the original SCSF:
1. Microsoft Composite UI WPF Layer by Kent. - Note this is the WPF enabled CAB (You can download only the binaries from here)
2. Microsoft Enterprise Library 2.0
3. Microsoft Guidance Automation Extension
4. Microsoft Guidance Automation Toolkit - Needed only if you want to extend this factory.

I hope you will find this modification useful too.

If you are interested in CAB/SCSF/WPF mentoring/consulting you may contact me directly through my blog.

Ohad Israeli
Microsoft Security MVP
weblogs.asp.net/israelio
Last edited Apr 13 at 2:10 PM  by israelio, version 23
Comments
needbrew wrote  May 11 2007 at 8:09 PM  
Do you have any walkthroughs. I am new to CAB and am trying to figure out how to use it with the WPF. The examples on Codeplex are all CAB with winforms and I cannot seem to get anything to work.

Thanks in advance

israelio wrote  May 20 2007 at 6:21 PM  
I am working on migrating the scsfwpf 1.01 for competability with scsf may version and will include some guidnace on my own plus new features and i am using in my projects which are not part of the scsf.

hagitb wrote  Jun 7 2007 at 11:13 PM  
I have started to use the Smart Client Factory and I encountered to following problems:
1. when I change my shellForm to be right to left the control box stayed at the right side of the menu instead of the left side.
2. i have tried to add 2 modules that add the same menu with different submenus and It always creates the same menu twice. what did I do wrong? this is my code:
ToolStripMenuItem generalItem = null;
UIExtensionSite mainMenu = WorkItem.UIExtensionSites[UIExtensionSiteNames.MainMenu];
if (!mainMenu.Contains("Tools"))
{
generalItem = new ToolStripMenuItem("Tools");
WorkItem.UIExtensionSites[UIExtensionSiteNames.MainMenu].Add(generalItem);
}
else
{
foreach (object item in mainMenu)
{
ToolStripMenuItem menu = item as ToolStripMenuItem;
if (menu != null)
{
if (menu.Text == "Tools")
{
generalItem = menu;
}
}
}
}


if (generalItem != null)
{
ToolStripMenuItem item = new ToolStripMenuItem("Locations");
generalItem.DropDownItems.Add(item);
WorkItem.Commands["DisplayLocationsEditor"].AddInvoker(item, "Click");
}

Thanks,
Hagit

xgardener wrote  Sep 11 2007 at 3:18 AM  
Issue in the "New Project" Wizard.
Hello there! I just add a discussion thread. Would you please have a look at it to see if you have any work around? Thanks a lot!

Updating...