Windows Forms Documentation Updates

We're the Windows Forms User Education team at Microsoft. We use this space to update folks on developments with Windows Forms docs, publishing doc updates before they're published. Feel free to ask us questions about WinForms, and we'll do our best to an

Browse by Tags

Tagged Content List
  • Blog Post: New White Paper: Creating Smart Application Layouts in Windows Forms 2.0

    My new Windows Forms white paper is now available on MSDN . It covers using ToolStrip as a navigation alternative to TabControl, and creating collapsible flyout menus a la the Visual Studio Toolbox. Compilable code samples are included. Enjoy!
  • Blog Post: Adding Custom My.Application Methods to C# Windows Forms Applications

    In my last entry, I talked about how I loved extending My.Application in VB to create global methods available to my entire application. A reader mentioned that you can get much of the default functionality associated with the My class by using That . But what about adding your own global functionality...
  • Blog Post: ClickOnce: How to Dynamically Detect Data Directory Between Debug, Release, and Publish

    Dynamically Detecting the Data Directory My Slideshow control ( which I discussed in a previous post ) looks in a data directory called images for the images it wishes to display. This adds a curious twist to application development and deployment. When I deploy an application using ClickOnce, I will...
  • Blog Post: Adding Glass to a Windows Forms App on Vista

    Tim Sneath, Windows Vista tech evangelist extraordinaire, has a good post up on how to add a glass effect to a form in Windows Forms . It's no more complex than a call into dwmapi.dll - although there are some provisos and quid pro quos, natch. It's cool stuff like this that almost makes being a technical...
  • Blog Post: Control.Location is a Pain - or, Why We Need an OffsetLocation() Method

    I'm polishing up some code for a Windows Forms white paper on application layouts in Windows Forms 2.0. The paper will cover advanced uses of the ToolStrip control for creating navigational layouts, among other things. One of the samples is a VS Toolbox-style flyout panel. The code to implement this...
  • Blog Post: Boneheaded .NET Error of the Day

    [Can I say "boneheaded" on MSDN? If this post disappears in an hour, you'll know I've received an email from HR...] As a Programmer/Writer for Windows Forms, I develop code examples in both C# and Visual Basic.NET. Today, I was finishing up a code example for a new SDK topic on ClickOnce and localization...
  • Blog Post: Calling Validate() and ValidateChildren() from Validating and Validated Events

    Don't do it - it won't work. Both methods will automatically return false, in order to prevent infinite recursion from unskillful implementation of the event handlers. I've added a note about this to the relevant sections of the docs. Mind you, I'm not entirely clear on why you would want to do this...
  • Blog Post: Application.ThreadException sample now works!

    Several customers have pointed out to me that the sample for the ThreadException event doesn't even compile, let alone work. Similarly, the topic containing it never clearly differentiated between exceptions on Windows Forms threads (which are handled by ThreadException) and exceptions on other threads...
  • Blog Post: SetCompatibleTextRenderingDefault

    There were several changes in Windows Forms for .NET Framework 2.0 that came down the pipe too late for us to document in time for RTM. Once of these was the SetCompatibleTextRenderingDefault() method on System.Windows.Forms.Application. I've since documented it; this new text is currently live on...
Page 1 of 1 (9 items)