<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>scsfcontrib Forum Rss Feed</title><link>http://www.codeplex.com/scsfcontrib/Thread/List.aspx</link><description>scsfcontrib Forum Rss Description</description><item><title>New Post: supports Visual Studio 2010 </title><link>http://scsfcontrib.codeplex.com/Thread/View.aspx?ThreadId=213130</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;i've just deployed a new release of SCSFContrib.CompositeUI.dll and SCSFContrib.CompositeUI.WinForms.dll for visual studio 2010 and scsf2010&lt;/p&gt;
&lt;p&gt;it's a simple process!&lt;/p&gt;
&lt;p&gt;I've installed VS2010, Enterprise Library 5.0, GAX2010, VS Sdk 2010, GAT2010 and smart client contrib 1.5 source code&lt;/p&gt;
&lt;p&gt;Just replace library in &amp;quot;Microsoft Practices Library&amp;quot; folder with the new SCSF2010 one and recompile all.&lt;/p&gt;
&lt;p&gt;Fabio&lt;/p&gt;
&lt;/div&gt;</description><author>FabioBo</author><pubDate>Fri, 22 Oct 2010 07:05:06 GMT</pubDate><guid isPermaLink="false">New Post: supports Visual Studio 2010  20101022070506A</guid></item><item><title>New Post:  SmartPartPlaceholder Not shown</title><link>http://scsfcontrib.codeplex.com/Thread/View.aspx?ThreadId=216151</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I've solved this problem by changing the following method in SmartPartPlaceHolder.cs :&lt;/p&gt;
&lt;pre&gt;		/// 
		/// Raises the  event.
		/// 
		protected virtual void OnSmartPartShown(SmartPartPlaceHolderEventArgs e)
		{
			Guard.ArgumentNotNull(e, &amp;quot;e&amp;quot;);

		    this.Content = e.SmartPart;&amp;nbsp; //this is the missing action
			EventHandler handler = SmartPartShown;

			if (handler != null)
			{
				handler(this, e);
			}
		}&lt;/pre&gt;
&lt;p&gt;... and also modifying the Builder Strategy 'FrameworkElementSmartPartStrategy.cs' : move the call to PopulateIfPlaceholder() from BuildUp() to AddHierarchy():&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;		private void AddHierarchy(WorkItem workItem, FrameworkElement frameworkElement)
		{
            PopulateIfPlaceholder(workItem, frameworkElement);

            foreach (object child in LogicalTreeHelper.GetChildren(frameworkElement))
			{
				if (!AddToWorkItem(workItem, child))
				{
					FrameworkElement childFrameworkElement = child as FrameworkElement;

					if (childFrameworkElement != null)
					{
						AddHierarchy(workItem, childFrameworkElement);
					}
				}
			}
		}
&lt;/pre&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</description><author>bixasbxb</author><pubDate>Mon, 18 Oct 2010 12:20:12 GMT</pubDate><guid isPermaLink="false">New Post:  SmartPartPlaceholder Not shown 20101018122012P</guid></item><item><title>New Post: UAB 2.1 and UAC</title><link>http://scsfcontrib.codeplex.com/Thread/View.aspx?ThreadId=221936</link><description>&lt;div style="line-height: normal;"&gt;&lt;div id="ctl00_ctl00_MasterContent_Content_PostRepeater_ctl00_BodyDiv"&gt;
&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have UAB 2.1 working with Enterprise Library 3.1 and everythings work fine in Windows XP and Windows 7 with UAC off.&lt;/p&gt;
&lt;p&gt;But when I run app in Windows 7 with UAC on there's a problem. I see the files from the server downloaded to downloader folder then app ask me to restart but the files are not  updating the program (applications not been created) after exit program. When I restart the program it notice me restart again (resume pending).&lt;/p&gt;
I've tested with one text file abc.txt and it run OK and I think program have a trouble with UAC (maybe file with dll extension).&lt;/div&gt;
&lt;div&gt;Have anyone get the same problem?&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Thanks,&lt;/div&gt;&lt;/div&gt;</description><author>langxang</author><pubDate>Fri, 30 Jul 2010 01:53:10 GMT</pubDate><guid isPermaLink="false">New Post: UAB 2.1 and UAC 20100730015310A</guid></item><item><title>New Post: UAB 2.1 and Enterprise Library Configuration Tool</title><link>http://scsfcontrib.codeplex.com/Thread/View.aspx?ThreadId=221577</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I've been looking at the UAB 2.0 release with .net 1.1 but I'm using Visual Studio 2005 and .net 2.0 for my applications so I've like to use the UAB 2.1 version instead.&amp;nbsp; My question is, how do I add the Updater Application Block configuration section in the Enterprise Library Configuration Tool to setup my config file?&amp;nbsp; The instructions on the MSDN website and one example I found on codeproject both use UAB 2.0 where you install the Enterprise Library - June 2005 and UAB 2.0.&lt;/p&gt;
&lt;p&gt;I have installed the Enterprise Library - January 2006 and have downloaded the files for UAB 2.1, but the Enterprise Library Configuration Tool under the EL-Jan2006 folder doesn't allow an option to add the Update Application Block configuration section (as per this thread: &lt;a href="http://www.vbforums.com/showthread.php?t=474188"&gt;http://www.vbforums.com/showthread.php?t=474188&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;Have I got this wrong or should&amp;nbsp;I be able to use this tool to configure my app.config file to use UAB 2.1?&lt;/p&gt;&lt;/div&gt;</description><author>tippers</author><pubDate>Tue, 27 Jul 2010 16:30:17 GMT</pubDate><guid isPermaLink="false">New Post: UAB 2.1 and Enterprise Library Configuration Tool 20100727043017P</guid></item><item><title>New Post:  SmartPartPlaceholder Not shown</title><link>http://scsfcontrib.codeplex.com/Thread/View.aspx?ThreadId=216151</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I have debug into the codes and buildup function works to create the target SmartPart. &amp;nbsp;But the screen for placeholder display nothing and other controls/views display well.&lt;/p&gt;
&lt;p&gt;Now I run the BankTellerWpf.sin (vs2008) in sample folder of&amp;nbsp;﻿SmartClientContrib-Release1.5-src, in which the UserInfo view is placed in placeholder.The view does not displayed as well.&lt;/p&gt;
&lt;p&gt;So I guess this might be one environment issue. But do not know where is it?&lt;/p&gt;
&lt;p&gt;Has anybody encounter this issue and would you like to share something? Thanks a lot.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</description><author>yimin2018</author><pubDate>Thu, 17 Jun 2010 15:34:48 GMT</pubDate><guid isPermaLink="false">New Post:  SmartPartPlaceholder Not shown 20100617033448P</guid></item><item><title>New Post:  SmartPartPlaceholder Not shown</title><link>http://scsfcontrib.codeplex.com/Thread/View.aspx?ThreadId=216151</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I am learning the Contrib now and have problem with SmartPartPlaceholder.&lt;/p&gt;
&lt;p&gt;The simple xaml is like this&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;lt;Grid&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ...definitions ...&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;cab:SmartPartPlaceholder &amp;nbsp;SmartPartShown=&amp;quot;LeftPlaceHolder_SmartPartShown&amp;quot; &amp;nbsp;SmartPartName=&amp;quot;StudyPanelLeftViewInstance&amp;quot;/&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;GridSplitter Grid.Column=&amp;quot;1&amp;quot; ResizeDirection=&amp;quot;Columns&amp;quot; Width=&amp;quot;5&amp;quot; VerticalAlignment=&amp;quot;Stretch&amp;quot; &amp;nbsp; Background=&amp;quot;blue&amp;quot; &amp;nbsp;/&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ...simple other things like lables&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;lt;/Grid&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then I add the smartpart in modulecontroller.AddViews() generated by SCSF template&lt;/p&gt;
&lt;p&gt;_studyPanelLeftView = WorkItem.Items.AddNew&amp;lt;StudyPanelLeftView&amp;gt;(&amp;quot;StudyPanelLeftViewInstance&amp;quot;);&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;After that, I add button to toolbar. After click the toolbar, the view is shown on shell&amp;nbsp;&lt;/p&gt;
&lt;p&gt;_studyPanelView = ShowViewInWorkspace&amp;lt;StudyPanel&amp;gt;(SmartService.Infrastructure.Interface.Constants.WorkItemNames.RootViewOfStudyModule, Constants.WorkspaceNames.LayoutWorkspace);&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The labels of study panel shown on the shell correctly while the&amp;nbsp;_studyPanelLeftView now shown.&lt;/p&gt;
&lt;p&gt;I can debug into the handler&amp;nbsp;LeftPlaceHolder_SmartPartShown, that means the SmartPart has been loaded. But why I can not see it? I checked the visibility property of the smartpart, is is visible.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have dig into the problem for several days, and I do not know where to begin for this problem. Is anybody encounter similar issue before? And can you give me some suggestion for this. It just now shown in the workspace, and maybe easy for you.&lt;/p&gt;
&lt;p&gt;Thanks a lot for any help from you.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</description><author>yimin2018</author><pubDate>Wed, 16 Jun 2010 02:10:39 GMT</pubDate><guid isPermaLink="false">New Post:  SmartPartPlaceholder Not shown 20100616021039A</guid></item><item><title>New Post: supports Visual Studio 2010 </title><link>http://scsfcontrib.codeplex.com/Thread/View.aspx?ThreadId=213130</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;We also appreciate porting of SCSF Contrib on VS2010!&lt;/p&gt;&lt;/div&gt;</description><author>FabioBo</author><pubDate>Tue, 08 Jun 2010 09:16:15 GMT</pubDate><guid isPermaLink="false">New Post: supports Visual Studio 2010  20100608091615A</guid></item><item><title>New Post: supports Visual Studio 2010 </title><link>http://scsfcontrib.codeplex.com/Thread/View.aspx?ThreadId=213130</link><description>&lt;div style="line-height: normal;"&gt;Hi,

When for the version vs 2010?&lt;/div&gt;</description><author>AOG</author><pubDate>Wed, 19 May 2010 08:47:50 GMT</pubDate><guid isPermaLink="false">New Post: supports Visual Studio 2010  20100519084750A</guid></item><item><title>New Post: Anyone integrated the Ribbon Framework into the SCSF Outlook sample?</title><link>http://scsfcontrib.codeplex.com/Thread/View.aspx?ThreadId=210792</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Has anyone integrated the Ribbon Framework (&lt;a href="http://windowsribbon.codeplex.com/"&gt;http://windowsribbon.codeplex.com/&lt;/a&gt;) into the SCSF Outlook sample?&lt;/p&gt;
&lt;p&gt;Michael Herman (Toronto)&lt;/p&gt;&lt;/div&gt;</description><author>mwherman2000</author><pubDate>Wed, 28 Apr 2010 03:29:34 GMT</pubDate><guid isPermaLink="false">New Post: Anyone integrated the Ribbon Framework into the SCSF Outlook sample? 20100428032934A</guid></item><item><title>New Post: Define common handler for  ExceptionCallback event</title><link>http://scsfcontrib.codeplex.com/Thread/View.aspx?ThreadId=210594</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi All,&lt;/p&gt;
&lt;p&gt;I am sending the web service requests through DSA. When the service responds the DSA raises the ExceptionCallback event in case of any failure. I would wish to&amp;nbsp;define an exception handler&amp;nbsp;for the method to callback and log the exception details. Instead of defining the handler seperately for each individual method, is there a possibility of regsitering the error handler at a higher level(may be the Request dispatcher) so that all the callbacks point to the same error handler.&lt;/p&gt;
&lt;p&gt;Thanks in advance!&lt;/p&gt;&lt;/div&gt;</description><author>rakyyadav</author><pubDate>Mon, 26 Apr 2010 17:06:45 GMT</pubDate><guid isPermaLink="false">New Post: Define common handler for  ExceptionCallback event 20100426050645P</guid></item><item><title>New Post: Painting issue in DockPanelWorkspace in Windows 7</title><link>http://scsfcontrib.codeplex.com/Thread/View.aspx?ThreadId=207005</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have an application designed using DockPanelWorkspace. &amp;nbsp;I am facing painting issue with this workspace, when the application is run on Windows 7. &amp;nbsp;The DockPanelWorkspace window is displayed as small 300x300 window on top left corner, rest of the space is blank. &amp;nbsp;This happen when my resolution dpi is 96, when I increase it to 120, it works fine.&lt;/p&gt;
&lt;p&gt;Also when I apply WinXP theme on system, it also works fine.&lt;/p&gt;
&lt;p&gt;Please suggest...&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</description><author>anmolarya</author><pubDate>Tue, 23 Mar 2010 13:45:07 GMT</pubDate><guid isPermaLink="false">New Post: Painting issue in DockPanelWorkspace in Windows 7 20100323014507P</guid></item><item><title>New Post: Pinnable(floating) outlook workspace</title><link>http://scsfcontrib.codeplex.com/Thread/View.aspx?ThreadId=55907</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;You could use a&amp;nbsp;DockPanelWorkspace as your main workspace, then show a DockContent with&amp;nbsp;DockLeft DockState property on the main workspace,&amp;nbsp;last&amp;nbsp;place&amp;nbsp;your OutlookBarWorkspace into&amp;nbsp;the DockContent.&lt;/p&gt;&lt;/div&gt;</description><author>dotAge</author><pubDate>Fri, 19 Mar 2010 05:11:30 GMT</pubDate><guid isPermaLink="false">New Post: Pinnable(floating) outlook workspace 20100319051130A</guid></item><item><title>New Post: Pinnable(floating) outlook workspace</title><link>http://scsfcontrib.codeplex.com/Thread/View.aspx?ThreadId=55907</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;bump&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;any ideas for this?&lt;/p&gt;&lt;/div&gt;</description><author>ziza84</author><pubDate>Mon, 04 Jan 2010 08:41:18 GMT</pubDate><guid isPermaLink="false">New Post: Pinnable(floating) outlook workspace 20100104084118A</guid></item><item><title>New Post: UAB and certificate validation</title><link>http://scsfcontrib.codeplex.com/Thread/View.aspx?ThreadId=78017</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Applications when published by ClickOnce, get signed in the manifest files. ClickOnce validates the signature against trusted publishers to ensure that the manifest file has not been tampered with.&lt;/p&gt;
&lt;p&gt;Does UAB hae a similar feature? If not, which part of the ocde should it be included in?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br&gt;Yash&lt;/p&gt;&lt;/div&gt;</description><author>yashgt</author><pubDate>Sun, 13 Dec 2009 23:23:15 GMT</pubDate><guid isPermaLink="false">New Post: UAB and certificate validation 20091213112315P</guid></item><item><title>New Post: UAB 2.1 Updating program</title><link>http://scsfcontrib.codeplex.com/Thread/View.aspx?ThreadId=56599</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Check your manifest file. Does it contain files base and file source tabs.&lt;/p&gt;
&lt;p&gt;I solved this issue but could not remember how exactly... Theres some mistake in your manifest file or app.config file.&lt;/p&gt;
&lt;p&gt;Debug the solution, u will find it out.&lt;/p&gt;&lt;/div&gt;</description><author>testid</author><pubDate>Sat, 19 Sep 2009 11:54:52 GMT</pubDate><guid isPermaLink="false">New Post: UAB 2.1 Updating program 20090919115452A</guid></item><item><title>New Post: ToolStripPanelAdapter ToolStrip Order - Merging</title><link>http://scsfcontrib.codeplex.com/Thread/View.aspx?ThreadId=67801</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hello,&lt;br&gt;&lt;br&gt;I am using a custom ToolStripPanelUIAdapterFactory to expose the top ToolStripPanel in a ToolStripContainer as a UIExtensionSite.&amp;nbsp; &lt;br&gt;My adapter is working in that I can create the UIExtensionSite and dynamically add toolStrips to it.&amp;nbsp; However I'm having an issue in assigning Toolstrip Order.&lt;br&gt;&lt;br&gt;No matter what I do it seems like when I programatically add a ToolStrip to the ToolSripContainer it stacks them vertically.&lt;br&gt;Here is my adapter and adapter factory.&amp;nbsp;&amp;nbsp; Any help is appreciated!&lt;/p&gt;
&lt;p&gt;
&lt;div style="color:Black;background-color:White"&gt;
&lt;pre&gt;&lt;span style="color:Blue"&gt;Public&lt;/span&gt; &lt;span style="color:Blue"&gt;Class&lt;/span&gt; ToolStripPanelUIAdapter
    &lt;span style="color:Blue"&gt;Inherits&lt;/span&gt; Microsoft.Practices.CompositeUI.UIElements.UIElementAdapter(Of ToolStrip)

    &lt;span style="color:Blue"&gt;Private&lt;/span&gt; _toolStripPanel &lt;span style="color:Blue"&gt;As&lt;/span&gt; ToolStripPanel
    &lt;span style="color:Blue"&gt;Public&lt;/span&gt; &lt;span style="color:Blue"&gt;Sub&lt;/span&gt; &lt;span style="color:Blue"&gt;New&lt;/span&gt;(&lt;span style="color:Blue"&gt;ByVal&lt;/span&gt; toolStripPanel &lt;span style="color:Blue"&gt;As&lt;/span&gt; ToolStripPanel)
        &lt;span style="color:Blue"&gt;If&lt;/span&gt; &lt;span style="color:Blue"&gt;Not&lt;/span&gt; toolStripPanel &lt;span style="color:Blue"&gt;Is&lt;/span&gt; &lt;span style="color:Blue"&gt;Nothing&lt;/span&gt; &lt;span style="color:Blue"&gt;Then&lt;/span&gt;
            &lt;span style="color:Blue"&gt;Me&lt;/span&gt;._toolStripPanel = toolStripPanel
        &lt;span style="color:Blue"&gt;End&lt;/span&gt; &lt;span style="color:Blue"&gt;If&lt;/span&gt;
    &lt;span style="color:Blue"&gt;End&lt;/span&gt; &lt;span style="color:Blue"&gt;Sub&lt;/span&gt;

    &lt;span style="color:Blue"&gt;Private&lt;/span&gt; &lt;span style="color:Blue"&gt;Shared&lt;/span&gt; NumberOfAddedControls &lt;span style="color:Blue"&gt;As&lt;/span&gt; &lt;span style="color:Blue"&gt;Integer&lt;/span&gt; = 0

    &lt;span style="color:Blue"&gt;Protected&lt;/span&gt; &lt;span style="color:Blue"&gt;Overloads&lt;/span&gt; &lt;span style="color:Blue"&gt;Overrides&lt;/span&gt; &lt;span style="color:Blue"&gt;Function&lt;/span&gt; Add(&lt;span style="color:Blue"&gt;ByVal&lt;/span&gt; uiElement &lt;span style="color:Blue"&gt;As&lt;/span&gt; System.Windows.Forms.ToolStrip) _
        &lt;span style="color:Blue"&gt;As&lt;/span&gt; System.Windows.Forms.ToolStrip
        &lt;span style="color:Blue"&gt;If&lt;/span&gt; _toolStripPanel &lt;span style="color:Blue"&gt;Is&lt;/span&gt; &lt;span style="color:Blue"&gt;Nothing&lt;/span&gt; &lt;span style="color:Blue"&gt;Then&lt;/span&gt;
            &lt;span style="color:Blue"&gt;Throw&lt;/span&gt; &lt;span style="color:Blue"&gt;New&lt;/span&gt; InvalidOperationException()
        &lt;span style="color:Blue"&gt;End&lt;/span&gt; &lt;span style="color:Blue"&gt;If&lt;/span&gt;

        &lt;span style="color:Green"&gt;' remove all previously existing toolstrips&lt;/span&gt;
        &lt;span style="color:Blue"&gt;Dim&lt;/span&gt; ctrls &lt;span style="color:Blue"&gt;As&lt;/span&gt; &lt;span style="color:Blue"&gt;New&lt;/span&gt; List(Of ToolStrip)
        &lt;span style="color:Blue"&gt;For&lt;/span&gt; &lt;span style="color:Blue"&gt;Each&lt;/span&gt; ctrl &lt;span style="color:Blue"&gt;As&lt;/span&gt; ToolStrip &lt;span style="color:Blue"&gt;In&lt;/span&gt; &lt;span style="color:Blue"&gt;Me&lt;/span&gt;._toolStripPanel.Controls
            ctrls.Add(ctrl)
        &lt;span style="color:Blue"&gt;Next&lt;/span&gt;

        &lt;span style="color:Green"&gt;' clear the toolstrips&lt;/span&gt;
        &lt;span style="color:Blue"&gt;Me&lt;/span&gt;._toolStripPanel.Controls.Clear()

        &lt;span style="color:Green"&gt;' add the new toolstrip so it shows up at the end&lt;/span&gt;
        &lt;span style="color:Blue"&gt;Me&lt;/span&gt;._toolStripPanel.&lt;span style="color:Blue"&gt;Join&lt;/span&gt;(uiElement, 0)

        &lt;span style="color:Green"&gt;'re-add all previous tooltsrips&lt;/span&gt;
        &lt;span style="color:Blue"&gt;For&lt;/span&gt; index &lt;span style="color:Blue"&gt;As&lt;/span&gt; &lt;span style="color:Blue"&gt;Integer&lt;/span&gt; = ctrls.&lt;span style="color:Blue"&gt;Count&lt;/span&gt; - 1 &lt;span style="color:Blue"&gt;To&lt;/span&gt; 0 &lt;span style="color:Blue"&gt;Step&lt;/span&gt; -1
            &lt;span style="color:Blue"&gt;Me&lt;/span&gt;._toolStripPanel.&lt;span style="color:Blue"&gt;Join&lt;/span&gt;(ctrls(index), 0)
        &lt;span style="color:Blue"&gt;Next&lt;/span&gt;
        &lt;span style="color:Blue"&gt;Return&lt;/span&gt; uiElement
    &lt;span style="color:Blue"&gt;End&lt;/span&gt; &lt;span style="color:Blue"&gt;Function&lt;/span&gt;

    &lt;span style="color:Blue"&gt;Protected&lt;/span&gt; &lt;span style="color:Blue"&gt;Overloads&lt;/span&gt; &lt;span style="color:Blue"&gt;Overrides&lt;/span&gt; &lt;span style="color:Blue"&gt;Sub&lt;/span&gt; Remove(&lt;span style="color:Blue"&gt;ByVal&lt;/span&gt; uiElement &lt;span style="color:Blue"&gt;As&lt;/span&gt; System.Windows.Forms.ToolStrip)
        &lt;span style="color:Blue"&gt;If&lt;/span&gt; _toolStripPanel &lt;span style="color:Blue"&gt;Is&lt;/span&gt; &lt;span style="color:Blue"&gt;Nothing&lt;/span&gt; &lt;span style="color:Blue"&gt;Then&lt;/span&gt;
            &lt;span style="color:Blue"&gt;Throw&lt;/span&gt; &lt;span style="color:Blue"&gt;New&lt;/span&gt; InvalidOperationException()
        &lt;span style="color:Blue"&gt;End&lt;/span&gt; &lt;span style="color:Blue"&gt;If&lt;/span&gt;
        &lt;span style="color:Blue"&gt;Me&lt;/span&gt;._toolStripPanel.Controls.Remove(uiElement)
    &lt;span style="color:Blue"&gt;End&lt;/span&gt; &lt;span style="color:Blue"&gt;Sub&lt;/span&gt;
&lt;span style="color:Blue"&gt;End&lt;/span&gt; &lt;span style="color:Blue"&gt;Class&lt;/span&gt;

&lt;span style="color:Blue"&gt;Public&lt;/span&gt; &lt;span style="color:Blue"&gt;Class&lt;/span&gt; ToolStripPanelUIAdapterFactory
    &lt;span style="color:Blue"&gt;Implements&lt;/span&gt; Microsoft.Practices.CompositeUI.UIElements.IUIElementAdapterFactory

    &lt;span style="color:Blue"&gt;Public&lt;/span&gt; &lt;span style="color:Blue"&gt;Function&lt;/span&gt; GetAdapter(&lt;span style="color:Blue"&gt;ByVal&lt;/span&gt; uiElement &lt;span style="color:Blue"&gt;As&lt;/span&gt; &lt;span style="color:Blue"&gt;Object&lt;/span&gt;) &lt;span style="color:Blue"&gt;As&lt;/span&gt; Microsoft.Practices.CompositeUI.UIElements.IUIElementAdapter _
        &lt;span style="color:Blue"&gt;Implements&lt;/span&gt; Microsoft.Practices.CompositeUI.UIElements.IUIElementAdapterFactory.GetAdapter
        &lt;span style="color:Blue"&gt;If&lt;/span&gt; &lt;span style="color:Blue"&gt;TypeOf&lt;/span&gt; uiElement &lt;span style="color:Blue"&gt;Is&lt;/span&gt; ToolStripPanel &lt;span style="color:Blue"&gt;Then&lt;/span&gt;
            &lt;span style="color:Blue"&gt;Return&lt;/span&gt; &lt;span style="color:Blue"&gt;New&lt;/span&gt; ToolStripPanelUIAdapter(&lt;span style="color:Blue"&gt;DirectCast&lt;/span&gt;(uiElement, ToolStripPanel))
        &lt;span style="color:Blue"&gt;End&lt;/span&gt; &lt;span style="color:Blue"&gt;If&lt;/span&gt;
        &lt;span style="color:Blue"&gt;Throw&lt;/span&gt; &lt;span style="color:Blue"&gt;New&lt;/span&gt; ArgumentException(&lt;span style="color:#A31515"&gt;&amp;quot;uiElement&amp;quot;&lt;/span&gt;)
    &lt;span style="color:Blue"&gt;End&lt;/span&gt; &lt;span style="color:Blue"&gt;Function&lt;/span&gt;

    &lt;span style="color:Blue"&gt;Public&lt;/span&gt; &lt;span style="color:Blue"&gt;Function&lt;/span&gt; Supports(&lt;span style="color:Blue"&gt;ByVal&lt;/span&gt; uiElement &lt;span style="color:Blue"&gt;As&lt;/span&gt; &lt;span style="color:Blue"&gt;Object&lt;/span&gt;) &lt;span style="color:Blue"&gt;As&lt;/span&gt; &lt;span style="color:Blue"&gt;Boolean&lt;/span&gt; _
        &lt;span style="color:Blue"&gt;Implements&lt;/span&gt; Microsoft.Practices.CompositeUI.UIElements.IUIElementAdapterFactory.Supports
        &lt;span style="color:Blue"&gt;Return&lt;/span&gt; &lt;span style="color:Blue"&gt;TypeOf&lt;/span&gt; uiElement &lt;span style="color:Blue"&gt;Is&lt;/span&gt; ToolStripPanel
    &lt;span style="color:Blue"&gt;End&lt;/span&gt; &lt;span style="color:Blue"&gt;Function&lt;/span&gt;
&lt;span style="color:Blue"&gt;End&lt;/span&gt; &lt;span style="color:Blue"&gt;Class&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/p&gt;&lt;/div&gt;</description><author>validation</author><pubDate>Wed, 02 Sep 2009 22:03:49 GMT</pubDate><guid isPermaLink="false">New Post: ToolStripPanelAdapter ToolStrip Order - Merging 20090902100349P</guid></item><item><title>New Post: DockPanelWorkspace's SmartPartClosing event raises twice</title><link>http://scsfcontrib.codeplex.com/Thread/View.aspx?ThreadId=66306</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I&amp;nbsp;placed a DockPanelWorkspace&amp;nbsp;on the shell form. In the AfterShellCreated of ShellApplication.cs, I registered the RootWorkItem.Initialized event:&lt;/p&gt;
&lt;div style="color:Black;background-color:White"&gt;
&lt;pre&gt;RootWorkItem.Initialized += &lt;span style="color:Blue"&gt;new&lt;/span&gt; EventHandler(RootWorkItem_Initialized);
&lt;span style="color:Blue"&gt;private&lt;/span&gt; &lt;span style="color:Blue"&gt;void&lt;/span&gt; RootWorkItem_Initialized(&lt;span style="color:Blue"&gt;object&lt;/span&gt; sender, EventArgs args)
{
    &lt;span style="color:Blue"&gt;foreach&lt;/span&gt; (KeyValuePair&amp;lt;&lt;span style="color:Blue"&gt;string&lt;/span&gt;, IWorkspace&amp;gt; key &lt;span style="color:Blue"&gt;in&lt;/span&gt; RootWorkItem.Workspaces)
    {
        key.Value.SmartPartClosing += &lt;span style="color:Blue"&gt;new&lt;/span&gt; EventHandler&amp;lt;WorkspaceCancelEventArgs&amp;gt;(smartPart_OnClosing);
    }
}
&lt;span style="color:Blue"&gt;void&lt;/span&gt; smartPart_OnClosing(&lt;span style="color:Blue"&gt;object&lt;/span&gt; sender, WorkspaceCancelEventArgs e)
{
    &lt;span style="color:Blue"&gt;if&lt;/span&gt; (MessageBox.Show(&lt;span style="color:#A31515"&gt;&amp;quot;Close?&amp;quot;&lt;/span&gt;, &lt;span style="color:#A31515"&gt;&amp;quot;Warning&amp;quot;&lt;/span&gt;, MessageBoxButtons.YesNo, MessageBoxIcon.Warning) == DialogResult.No)
    {
        e.Cancel = &lt;span style="color:Blue"&gt;true&lt;/span&gt;;
    }
}
&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;When I click the close button&amp;nbsp;at the top right corner of the dock panel, the MessageBox in the smartPart_OnClosing raised normally.&amp;nbsp;If I answer&amp;nbsp;No, everything looks fine, the Closing event is cancelled successfully and the smartpart still there. But when I answer Yes, this event will raise again, this time whatever I answer Yes or No, the smartpart will be disposed, is this a bug?&amp;nbsp;and is there any workaround?&lt;/p&gt;&lt;/div&gt;</description><author>dotage</author><pubDate>Wed, 19 Aug 2009 02:11:57 GMT</pubDate><guid isPermaLink="false">New Post: DockPanelWorkspace's SmartPartClosing event raises twice 20090819021157A</guid></item><item><title>New Post: Action Catalog with web client software factory</title><link>http://scsfcontrib.codeplex.com/Thread/View.aspx?ThreadId=65688</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I wonder, is it possible to using action catalog service with web client software factory?&lt;/p&gt;
&lt;p&gt;If possible, could you please give me right direction for using action catalog service with web client software factory.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</description><author>aseker</author><pubDate>Fri, 14 Aug 2009 12:32:07 GMT</pubDate><guid isPermaLink="false">New Post: Action Catalog with web client software factory 20090814123207P</guid></item><item><title>New Post: Closing, Activated/Inactivate Events</title><link>http://scsfcontrib.codeplex.com/Thread/View.aspx?ThreadId=65326</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Please see this topic:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://smartclient.codeplex.com/Thread/View.aspx?ThreadId=64952"&gt;http://smartclient.codeplex.com/Thread/View.aspx?ThreadId=64952&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;/div&gt;</description><author>dotage</author><pubDate>Wed, 12 Aug 2009 12:37:12 GMT</pubDate><guid isPermaLink="false">New Post: Closing, Activated/Inactivate Events 20090812123712P</guid></item><item><title>New Post: Service In Cab</title><link>http://scsfcontrib.codeplex.com/Thread/View.aspx?ThreadId=59898</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;please refer to&lt;/p&gt;
&lt;p&gt;&lt;a href="http://richnewman.wordpress.com/2007/09/08/introduction-to-services-in-the-cab-introduction-to-the-cabscsf-part-7/"&gt;http://richnewman.wordpress.com/2007/09/08/introduction-to-services-in-the-cab-introduction-to-the-cabscsf-part-7/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;hope this helps..&lt;/p&gt;&lt;/div&gt;</description><author>msaivara</author><pubDate>Thu, 16 Jul 2009 14:09:18 GMT</pubDate><guid isPermaLink="false">New Post: Service In Cab 20090716020918P</guid></item></channel></rss>