<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>ioc Issue Tracker Rss Feed</title><link>http://ioc.codeplex.com/WorkItem/List.aspx</link><description>ioc Issue Tracker Rss Description</description><item><title>Closed Issue: Feature Request: Add non-XML-based (preferrably fluent) Dynamic Registration interface [2758]</title><link>http://ioc.codeplex.com/workitem/2758</link><description>We need to add some mechanism to make programmatic registration of modules easier.  One that doesn&amp;#39;t require XML, and preferrably fluent &amp;#40;since that seems to be the way everyone else is migrating&amp;#41;.&lt;br /&gt;Comments: Change set 71475 added GetModuleAssemblies to the IModuleInfoStore interface.  You can now return an array of assemblies here and they will get inspected for modules and loaded.  It's not fluent, but it's an alternative to XML.</description><author>ctacke</author><pubDate>Mon, 25 Mar 2013 14:45:10 GMT</pubDate><guid isPermaLink="false">Closed Issue: Feature Request: Add non-XML-based (preferrably fluent) Dynamic Registration interface [2758] 20130325024510P</guid></item><item><title>Closed Feature: Feature Request: IModule loading without UI [6870]</title><link>http://ioc.codeplex.com/workitem/6870</link><description>Right now the ModuleInfoStoreService &amp;#40;the thing that loads IModules - which are essentially plug-ins&amp;#41; is tied to the SmartClientApplication, which in turn required WinForms.  IModules shouldn&amp;#39;t be tied to UI requirements first, becasue it&amp;#39;s bad form, but also becasue it makes it so you can&amp;#39;t reasonably use the IModule loading feature on platforms like Mono where WinForms don&amp;#39;t exist.&lt;br /&gt;&amp;#160;&lt;br /&gt;Extract the IModule loading system out of the UI assembly and down into IoC.  Make it no UI dependent.  Keep it performant, or better yet, make it faster.  Maintain existing compatibility.&lt;br /&gt;Comments: This is fixed, though I don't recall exactly when I fixed it.  The latest change set (71475) definitely has it.</description><author>ctacke</author><pubDate>Mon, 25 Mar 2013 14:43:16 GMT</pubDate><guid isPermaLink="false">Closed Feature: Feature Request: IModule loading without UI [6870] 20130325024316P</guid></item><item><title>Closed Issue: Feature: Allow loading module assemblies without XML [7372]</title><link>http://ioc.codeplex.com/workitem/7372</link><description>In some cases I&amp;#39;d like to be able to load assemblies with my own logic, rather than from XML.  Being able to just load the Assemblies myself and passing them into the IoC framework for Module inspection would be useful.&lt;br /&gt;Comments: Implemented in change set 71475</description><author>ctacke</author><pubDate>Mon, 25 Mar 2013 14:41:47 GMT</pubDate><guid isPermaLink="false">Closed Issue: Feature: Allow loading module assemblies without XML [7372] 20130325024147P</guid></item><item><title>Closed Feature: Feature: Access to the Shell Form in SmartClientApplication [7371]</title><link>http://ioc.codeplex.com/workitem/7371</link><description>If I create a typical IoC.UI SmartClientApplication, the shell form is created for me based on a generic type reference.  That&amp;#39;s great.  But it&amp;#39;s causing me a problem with app shutdown.  &lt;br /&gt;&lt;br /&gt;Right now I have an app that hides the OS taskbar &amp;#40;CE&amp;#41; on startup.  On shutdown, I&amp;#39;d like it to show it again.  My Form shell form hides the Task Bar in the constructor and there&amp;#39;s code to re-show it in the Dispose method, but Dispose is never getting called - I think the runtime exits before that can happen.&lt;br /&gt;&lt;br /&gt;What I need is access to the shell form&amp;#39;s instance up in the SmartClientApplication so I can call in and re-show the task bar after Start method exits.&lt;br /&gt;Comments: Implemented in change set 71475</description><author>ctacke</author><pubDate>Mon, 25 Mar 2013 14:41:23 GMT</pubDate><guid isPermaLink="false">Closed Feature: Feature: Access to the Shell Form in SmartClientApplication [7371] 20130325024123P</guid></item><item><title>Created Issue: Feature: Allow loading module assemblies without XML [7372]</title><link>http://ioc.codeplex.com/workitem/7372</link><description>In some cases I&amp;#39;d like to be able to load assemblies with my own logic, rather than from XML.  Being able to just load the Assemblies myself and passing them into the IoC framework for Module inspection would be useful.&lt;br /&gt;</description><author>ctacke</author><pubDate>Mon, 25 Mar 2013 14:38:02 GMT</pubDate><guid isPermaLink="false">Created Issue: Feature: Allow loading module assemblies without XML [7372] 20130325023802P</guid></item><item><title>Commented Feature: Feature: Access to the Shell Form in SmartClientApplication [7371]</title><link>http://ioc.codeplex.com/workitem/7371</link><description>If I create a typical IoC.UI SmartClientApplication, the shell form is created for me based on a generic type reference.  That&amp;#39;s great.  But it&amp;#39;s causing me a problem with app shutdown.  &lt;br /&gt;&lt;br /&gt;Right now I have an app that hides the OS taskbar &amp;#40;CE&amp;#41; on startup.  On shutdown, I&amp;#39;d like it to show it again.  My Form shell form hides the Task Bar in the constructor and there&amp;#39;s code to re-show it in the Dispose method, but Dispose is never getting called - I think the runtime exits before that can happen.&lt;br /&gt;&lt;br /&gt;What I need is access to the shell form&amp;#39;s instance up in the SmartClientApplication so I can call in and re-show the task bar after Start method exits.&lt;br /&gt;Comments: ** Comment from web user: ctacke ** &lt;p&gt;Oh, and maybe explicitly Disposing the shell for before exiting would be a good thing as well.&lt;/p&gt;</description><author>ctacke</author><pubDate>Mon, 25 Mar 2013 14:30:38 GMT</pubDate><guid isPermaLink="false">Commented Feature: Feature: Access to the Shell Form in SmartClientApplication [7371] 20130325023038P</guid></item><item><title>Created Feature: Feature: Access to the Shell Form in SmartClientApplication [7371]</title><link>http://ioc.codeplex.com/workitem/7371</link><description>If I create a typical IoC.UI SmartClientApplication, the shell form is created for me based on a generic type reference.  That&amp;#39;s great.  But it&amp;#39;s causing me a problem with app shutdown.  &lt;br /&gt;&lt;br /&gt;Right now I have an app that hides the OS taskbar &amp;#40;CE&amp;#41; on startup.  On shutdown, I&amp;#39;d like it to show it again.  My Form shell form hides the Task Bar in the constructor and there&amp;#39;s code to re-show it in the Dispose method, but Dispose is never getting called - I think the runtime exits before that can happen.&lt;br /&gt;&lt;br /&gt;What I need is access to the shell form&amp;#39;s instance up in the SmartClientApplication so I can call in and re-show the task bar after Start method exits.&lt;br /&gt;</description><author>ctacke</author><pubDate>Mon, 25 Mar 2013 14:29:59 GMT</pubDate><guid isPermaLink="false">Created Feature: Feature: Access to the Shell Form in SmartClientApplication [7371] 20130325022959P</guid></item><item><title>Created Feature: Feature Request: Load Modules by Assembly [7326]</title><link>http://ioc.codeplex.com/workitem/7326</link><description>Currently the IModuleInfoStore uses XML to define what Modules get loaded.  This isn&amp;#39;t terribly friendly, especially for platforms like Android.  It would be nice if I could just pass back an array of Assemblies that my InfoStore loaded and have IoC scan that for IModules to load.&lt;br /&gt;</description><author>ctacke</author><pubDate>Wed, 20 Feb 2013 02:17:45 GMT</pubDate><guid isPermaLink="false">Created Feature: Feature Request: Load Modules by Assembly [7326] 20130220021745A</guid></item><item><title>Created Feature: Feature Request: Add usage analytics/metrics [7267]</title><link>http://ioc.codeplex.com/workitem/7267</link><description>If your app is using IoC, then a lot of calls get funneled through some very discrete points in the code.  It might be useful and interesting to add at least some basic counters to help developers profile application usage.  For example, keeping a running count of SmartPart activations could tell a developer the relative &amp;#38;quot&amp;#59;popularity&amp;#38;quot&amp;#59; of a given View.  keeping a count of service resolutions by type could likewise indicate which services are most used.  This wouldn&amp;#39;t take the place of full app instrumentation, but it could provide some simple, easy data to help developers decide where efforts are best spent.&lt;br /&gt;</description><author>ctacke</author><pubDate>Wed, 16 Jan 2013 14:31:11 GMT</pubDate><guid isPermaLink="false">Created Feature: Feature Request: Add usage analytics/metrics [7267] 20130116023111P</guid></item><item><title>Closed Issue: Automatic textbox focus on loading [7137]</title><link>http://ioc.codeplex.com/workitem/7137</link><description>I would like for my SmartPart to have it&amp;#39;s first textbox focused on when it loads.  I have the below code in the OnActivated&amp;#40;&amp;#41; method of my SmartPart&amp;#58;&lt;br /&gt;&lt;br /&gt;    public override void OnActivated&amp;#40;&amp;#41;&lt;br /&gt;    &amp;#123;&lt;br /&gt;        base.OnActivated&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;        txtUserName.Focus&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;    &amp;#125;&lt;br /&gt;&lt;br /&gt;However, after the workspace.Show method is called by the DeckWorkspace, the textbox is not focused.&lt;br /&gt;&lt;br /&gt;I can make a sub-classes of the DeckWorkspace and SmartPart with auto-focus methods added, but is there a way that doesn&amp;#39;t use new classes&amp;#63;&lt;br /&gt;Comments: Fixed with latest change set</description><author>ctacke</author><pubDate>Tue, 15 Jan 2013 15:10:19 GMT</pubDate><guid isPermaLink="false">Closed Issue: Automatic textbox focus on loading [7137] 20130115031019P</guid></item><item><title>Commented Issue: Automatic textbox focus on loading [7137]</title><link>http://ioc.codeplex.com/workitem/7137</link><description>I would like for my SmartPart to have it&amp;#39;s first textbox focused on when it loads.  I have the below code in the OnActivated&amp;#40;&amp;#41; method of my SmartPart&amp;#58;&lt;br /&gt;&lt;br /&gt;    public override void OnActivated&amp;#40;&amp;#41;&lt;br /&gt;    &amp;#123;&lt;br /&gt;        base.OnActivated&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;        txtUserName.Focus&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;    &amp;#125;&lt;br /&gt;&lt;br /&gt;However, after the workspace.Show method is called by the DeckWorkspace, the textbox is not focused.&lt;br /&gt;&lt;br /&gt;I can make a sub-classes of the DeckWorkspace and SmartPart with auto-focus methods added, but is there a way that doesn&amp;#39;t use new classes&amp;#63;&lt;br /&gt;Comments: ** Comment from web user: ctacke ** &lt;p&gt;It turns out that the CF has a different behavior than the desktop.  A Form's Visibility doesn't change until after the ctor has run.  Well a control's visibility cannot be set to true if it's containers are not visible, and things like SetFocus are ignored if a control is not visible.  The end result is that on the first creation of the Form, SetFocus was failing - for every time after that (when just showing and hiding) it was working fine.&lt;/p&gt;&lt;p&gt;The net result is that I've fixed the issue, though if you try to start a Form hidden, it now might interrupt that process.  We'll see if anyone flags that as a problem.&lt;/p&gt;</description><author>ctacke</author><pubDate>Tue, 15 Jan 2013 15:09:55 GMT</pubDate><guid isPermaLink="false">Commented Issue: Automatic textbox focus on loading [7137] 20130115030955P</guid></item><item><title>Commented Issue: Automatic textbox focus on loading [7137]</title><link>http://ioc.codeplex.com/workitem/7137</link><description>&amp;#60;p&amp;#62;I would like for my SmartPart to have it&amp;#39;s first textbox focused on when it loads.  I have the below code in the OnActivated&amp;#40;&amp;#41; method of my SmartPart&amp;#58;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#38;&amp;#35;160&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;public override void OnActivated&amp;#40;&amp;#41;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#123;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;            base.OnActivated&amp;#40;&amp;#41;&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;            txtUserName.Focus&amp;#40;&amp;#41;&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#125;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#38;&amp;#35;160&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;However, after the workspace.Show method is called by the DeckWorkspace, the textbox is not focused.&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#38;&amp;#35;160&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;I can make a sub-classes of the DeckWorkspace and SmartPart with auto-focus methods added, but is there a way that doesn&amp;#39;t use new classes&amp;#63;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;Comments: ** Comment from web user: pbond ** &lt;p&gt;I can reproduce issue on WorkspaceDisposal sample (Compact Framework on Pocket PC 2003 emulator)&lt;/p&gt;&lt;p&gt;Issue also reproducible on real Windows CE devices &lt;/p&gt;&lt;p&gt;```&lt;br&gt;//Constructor&lt;br&gt;deckWorkspace1.Add(view); // &lt;br&gt;view.Show(); // OnActivated event occurs , but textbox control is not focused &lt;/p&gt;&lt;p&gt;// Button event handler&lt;br&gt;view.Hide(); //&lt;br&gt;view.Show();  //  text box control is focused &lt;/p&gt;&lt;p&gt;```&lt;/p&gt;</description><author>pbond</author><pubDate>Mon, 14 Jan 2013 21:22:20 GMT</pubDate><guid isPermaLink="false">Commented Issue: Automatic textbox focus on loading [7137] 20130114092220P</guid></item><item><title>Commented Issue: Automatic textbox focus on loading [7137]</title><link>http://ioc.codeplex.com/workitem/7137</link><description>&amp;#60;p&amp;#62;I would like for my SmartPart to have it&amp;#38;&amp;#35;39&amp;#59;s first textbox focused on when it loads.  I have the below code in the OnActivated&amp;#40;&amp;#41; method of my SmartPart&amp;#58;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#38;nbsp&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;public override void OnActivated&amp;#40;&amp;#41;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#123;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;            base.OnActivated&amp;#40;&amp;#41;&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;            txtUserName.Focus&amp;#40;&amp;#41;&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#125;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#38;nbsp&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;However, after the workspace.Show method is called by the DeckWorkspace, the textbox is not focused.&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#38;nbsp&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;I can make a sub-classes of the DeckWorkspace and SmartPart with auto-focus methods added, but is there a way that doesn&amp;#38;&amp;#35;39&amp;#59;t use new classes&amp;#63;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&lt;br /&gt;Comments: ** Comment from web user: pbond ** &lt;p&gt;I can reproduce issue on OpennetCF.IOC.CF&lt;/p&gt;</description><author>pbond</author><pubDate>Mon, 14 Jan 2013 11:55:30 GMT</pubDate><guid isPermaLink="false">Commented Issue: Automatic textbox focus on loading [7137] 20130114115530A</guid></item><item><title>Commented Issue: Keydown Events inside SmartParts [7129]</title><link>http://ioc.codeplex.com/workitem/7129</link><description>I need for my Smart Part control to react to KeyDown events for my application.&lt;br /&gt;&lt;br /&gt;However, once a smart part is loaded into the workspace, I cannot get the keydown events to be captured.&lt;br /&gt;&lt;br /&gt;I added the below code to the ViewA.cs and ViewB.cs Smarts in the FormStackCS sample project.  The KeyDown event is captured and reacted to in ViewA at the start, but after changing what control is shown, the KeyDown event is no longer captured by any other form, even after returning to ViewA.&lt;br /&gt;&lt;br /&gt;this.KeyDown &amp;#43;&amp;#61; View_KeyDown&amp;#59;&lt;br /&gt;&lt;br /&gt;private void ViewB_KeyDown&amp;#40;object sender, KeyEventArgs e&amp;#41;&lt;br /&gt;&amp;#123;&lt;br /&gt;            var y &amp;#61; MessageBox.Show&amp;#40;&amp;#34;A key was pushed&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#125;&lt;br /&gt;Comments: ** Comment from web user: webber55 ** &lt;p&gt;I&amp;#39;m sorry, but I downloaded the latest Source Code and the problem still happens in the FormStack sample project.  Key events work for the first control loaded, but subsequent controls don&amp;#39;t catch KeyDown or KeyUp events.&lt;/p&gt;&lt;p&gt;This still does occur in the FormStack sample program.  I added the below events to the designer for the ViewB and ViewC SmartParts.&lt;/p&gt;&lt;p&gt;this.KeyDown &amp;#43;&amp;#61; new System.Windows.Forms.KeyEventHandler&amp;#40;ViewB_KeyDown&amp;#41;&amp;#59;&lt;br /&gt;this.KeyDown &amp;#43;&amp;#61;new System.Windows.Forms.KeyEventHandler&amp;#40;ViewC_KeyDown&amp;#41;&amp;#59;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;private void ViewC_KeyDown&amp;#40;object sender, KeyEventArgs e&amp;#41;&lt;br /&gt;&amp;#123;&lt;br /&gt;            var z &amp;#61; MessageBox.Show&amp;#40;string.Format&amp;#40;&amp;#34;A key was pushed in View C &amp;#123;0&amp;#125;&amp;#34;, e.KeyCode&amp;#41;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#125;&lt;/p&gt;&lt;p&gt;private void ViewB_KeyDown&amp;#40;object sender, KeyEventArgs e&amp;#41;&lt;br /&gt;&amp;#123;&lt;br /&gt;            var x &amp;#61; MessageBox.Show&amp;#40;string.Format&amp;#40;&amp;#34;A key was pushed in view B - &amp;#123;0&amp;#125;&amp;#34;, e.KeyCode&amp;#41;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#125;&lt;br /&gt;&lt;/p&gt;</description><author>webber55</author><pubDate>Mon, 01 Oct 2012 13:53:38 GMT</pubDate><guid isPermaLink="false">Commented Issue: Keydown Events inside SmartParts [7129] 20121001015338P</guid></item><item><title>Closed Issue: Logging Switch On\Off [7066]</title><link>http://ioc.codeplex.com/workitem/7066</link><description>It is good to add ability to turn off &amp;#34;Debug.WriteLine&amp;#40;&amp;#41;&amp;#34;. This were added in last versions, because there are some apps which uses own logging and this makes some mess in logging, so it would be good to turn off it by default and turn on if needed.&lt;br /&gt;Comments: &lt;p&gt;&lt;/p&gt;</description><author>ctacke</author><pubDate>Fri, 21 Sep 2012 18:04:32 GMT</pubDate><guid isPermaLink="false">Closed Issue: Logging Switch On\Off [7066] 20120921060432P</guid></item><item><title>Closed Issue: Feature: Gesture support in Workspaces or SmartParts [7087]</title><link>http://ioc.codeplex.com/workitem/7087</link><description>Basic gesture support &amp;#40;left&amp;#47;right&amp;#47;up&amp;#47;down&amp;#41; might be a cool addition to the framework.  It could aid in having CF apps be a bit less archaic.&lt;br /&gt;Comments: &lt;p&gt;Added this feature in the latest code base&lt;/p&gt;</description><author>ctacke</author><pubDate>Fri, 21 Sep 2012 18:03:42 GMT</pubDate><guid isPermaLink="false">Closed Issue: Feature: Gesture support in Workspaces or SmartParts [7087] 20120921060342P</guid></item><item><title>Commented Issue: Automatic textbox focus on loading [7137]</title><link>http://ioc.codeplex.com/workitem/7137</link><description>I would like for my SmartPart to have it&amp;#39;s first textbox focused on when it loads.  I have the below code in the OnActivated&amp;#40;&amp;#41; method of my SmartPart&amp;#58;&lt;br /&gt;&lt;br /&gt;public override void OnActivated&amp;#40;&amp;#41;&lt;br /&gt;&amp;#123;&lt;br /&gt;            base.OnActivated&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;            txtUserName.Focus&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#125;&lt;br /&gt;&lt;br /&gt;However, after the workspace.Show method is called by the DeckWorkspace, the textbox is not focused.&lt;br /&gt;&lt;br /&gt;I can make a sub-classes of the DeckWorkspace and SmartPart with auto-focus methods added, but is there a way that doesn&amp;#39;t use new classes&amp;#63;&lt;br /&gt;Comments: ** Comment from web user: ctacke ** &lt;p&gt;I updated th desktop sample app WorkspaceDisposal.FFx.VS10 to test this and I was unable to reproduce it.  In OnActivate I set focus to the first textbox in the SmartPart.  I scrolled though all activation mechanisms, moving focus to a second textbox between each, and the focus always properly moved back to the first.  &lt;/p&gt;&lt;p&gt;Could you provide more details on how to reproduce this error&amp;#63;&lt;/p&gt;</description><author>ctacke</author><pubDate>Fri, 21 Sep 2012 18:03:06 GMT</pubDate><guid isPermaLink="false">Commented Issue: Automatic textbox focus on loading [7137] 20120921060306P</guid></item><item><title>Commented Issue: Keydown Events inside SmartParts [7129]</title><link>http://ioc.codeplex.com/workitem/7129</link><description>I need for my Smart Part control to react to KeyDown events for my application.&lt;br /&gt;&lt;br /&gt;However, once a smart part is loaded into the workspace, I cannot get the keydown events to be captured.&lt;br /&gt;&lt;br /&gt;I added the below code to the ViewA.cs and ViewB.cs Smarts in the FormStackCS sample project.  The KeyDown event is captured and reacted to in ViewA at the start, but after changing what control is shown, the KeyDown event is no longer captured by any other form, even after returning to ViewA.&lt;br /&gt;&lt;br /&gt;this.KeyDown &amp;#43;&amp;#61; View_KeyDown&amp;#59;&lt;br /&gt;&lt;br /&gt;private void ViewB_KeyDown&amp;#40;object sender, KeyEventArgs e&amp;#41;&lt;br /&gt;&amp;#123;&lt;br /&gt;            var y &amp;#61; MessageBox.Show&amp;#40;&amp;#34;A key was pushed&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#125;&lt;br /&gt;Comments: ** Comment from web user: ctacke ** &lt;p&gt;This was a result of the SmartPatrt not getting focus when it was activated.  The latest change set fixes it.&lt;/p&gt;</description><author>ctacke</author><pubDate>Fri, 21 Sep 2012 17:59:56 GMT</pubDate><guid isPermaLink="false">Commented Issue: Keydown Events inside SmartParts [7129] 20120921055956P</guid></item><item><title>Closed Issue: Keydown Events inside SmartParts [7129]</title><link>http://ioc.codeplex.com/workitem/7129</link><description>I need for my Smart Part control to react to KeyDown events for my application.&lt;br /&gt;&lt;br /&gt;However, once a smart part is loaded into the workspace, I cannot get the keydown events to be captured.&lt;br /&gt;&lt;br /&gt;I added the below code to the ViewA.cs and ViewB.cs Smarts in the FormStackCS sample project.  The KeyDown event is captured and reacted to in ViewA at the start, but after changing what control is shown, the KeyDown event is no longer captured by any other form, even after returning to ViewA.&lt;br /&gt;&lt;br /&gt;this.KeyDown &amp;#43;&amp;#61; View_KeyDown&amp;#59;&lt;br /&gt;&lt;br /&gt;private void ViewB_KeyDown&amp;#40;object sender, KeyEventArgs e&amp;#41;&lt;br /&gt;&amp;#123;&lt;br /&gt;            var y &amp;#61; MessageBox.Show&amp;#40;&amp;#34;A key was pushed&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#125;&lt;br /&gt;Comments: Resolved with changeset 70215.</description><author>ctacke</author><pubDate>Fri, 21 Sep 2012 17:59:08 GMT</pubDate><guid isPermaLink="false">Closed Issue: Keydown Events inside SmartParts [7129] 20120921055908P</guid></item><item><title>Created Issue: Automatic textbox focus on loading [7137]</title><link>http://ioc.codeplex.com/workitem/7137</link><description>I would like for my SmartPart to have it&amp;#39;s first textbox focused on when it loads.  I have the below code in the OnActivated&amp;#40;&amp;#41; method of my SmartPart&amp;#58;&lt;br /&gt;&lt;br /&gt;public override void OnActivated&amp;#40;&amp;#41;&lt;br /&gt;&amp;#123;&lt;br /&gt;            base.OnActivated&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;            txtUserName.Focus&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#125;&lt;br /&gt;&lt;br /&gt;However, after the workspace.Show method is called by the DeckWorkspace, the textbox is not focused.&lt;br /&gt;&lt;br /&gt;I can make a sub-classes of the DeckWorkspace and SmartPart with auto-focus methods added, but is there a way that doesn&amp;#39;t use new classes&amp;#63;&lt;br /&gt;</description><author>webber55</author><pubDate>Fri, 21 Sep 2012 14:02:43 GMT</pubDate><guid isPermaLink="false">Created Issue: Automatic textbox focus on loading [7137] 20120921020243P</guid></item></channel></rss>