SCSF - Smart Client Software Factory
Comments about Microsoft Patterns and Practices SMSF guidelines and helpers, including the CAB or Composite Application Block.
Most resizing logic is either geared toward running the application in different resolutions, or in keeping a control proportionately placed on a page or with reference to other controls. The Dock feature is great for handling a lot of your resizing needs as well. But I've found a solution to a different resizing problem that I'll bet others have run into as well. Let’s say I have placed three labels (or other controls) in a strip at the top of the screen, and these are resized to each be 1/3 the ......
I discovered an interesting issue while decorating an EventTopic subscription in my ModuleController for one of my modules. The decoration was like this: [EventSubscription(EventTop... ThreadOption.UserInterface)... void OnMsgReceived(object sender, EventArgs<Msg> ev) The event is fired on a non-UI thread, and I disovered this event handler was being called on that thread, NOT on the UserInterface thread as specified in the decoration. This decoration works fine in a ......
I've been fighting with this a few times, and did exactly what is described in the following article - fiddled with things until it worked. But this time I was having no luck, and googled the right words, and found this gem of an article on the Document Outline Window, a feature of VS 2005. I won't repeat what it says, just go read this article if you are tearing your hair out trying to get components to dock where you've asked them to dock, and in the order you wish them to dock... Also if you've ......
I don't know if anyone else has experienced this, but it is getting pretty annoying. I have a VS2005 project that is version controlled with VSS. When I open the project, it takes up to 4 or 5 minutes to open. This time I did a little digging, and see that the devenv.exe CPU is at from 15 to 40%. Watch the network, and I see that it is very busy reading data. Nothing else going on, it is definitely VS2005... Most likely going to my VSS server. By the time the project finally opens, it has used 3.5 ......
When I generated my first SCSF "Hello World" client application to see what it was all about, I noticed that there was a folder called "Constants" and in each folder there were generated four source modules: CommandNames.cs, EventTopicNames.cs, UIExtensionSiteNames.cs, and WorkspaceNames.cs. This folder was found in the Infrastructure.Interface module, but also in each module "FooModule" I had the factory generate, it would create this folder in the two VS projects it would create, one being the ......
Fellow GeeksWithBlogs blogger Patrice Calve posted a brief note earlier today about a four day class regarding the Composite UI Application Block and the Smart Client Software Factory (CAB/SCSF) taught by David Platt of Rolling Thunder that just finished up today. I have to agree completely with Patrice, having been there myself the past four days, that it was a great way to get grounded in how the SCSF and CAB work, and what "best practices" to follow when utilizing its many features. We were able ......