Geeks With Blogs
The Life and Times of a Dev Yes, we're really that weird July 2007 Entries
WPF, CAB, and Keyboard.Focus
Wow, that was a frustrating ride. All I wanted to do was get the initial focus of the application set to a control that was being loaded as part of the application. At first, I tried just the "Focus" command off of the control itself. That didn't work. Turns out, there's two types of focus, Keyboard Focus and Logical Focus. Cool, so then I knew I could use the method: Keyboard.Focus(IUIElement); Except it didn't work. No matter where I put it, it didn't work. I even went so far as to put the control ......

Posted On Friday, July 27, 2007 3:10 PM

Known Types
We're using Nettiers to generate our DAL and have the need to create a WCF layer for it. So we set up the WCF layer in a codesmith template and immediately ran into a problem, we had thousands of methods in the service contract, and the service took over a minute to initialize. Yuck. We could have separated out the service contracts into a bunch of different contracts, but that would have been nasty--we would have had over 100 some odd different services to put in the config file. So the next option ......

Posted On Thursday, July 12, 2007 11:18 AM

Copyright © Robert May | Powered by: