BT

Presentation: NET Windows Forms Tips and Tricks

| by James Vastbinder Follow 0 Followers on Jun 01, 2007. Estimated reading time: less than one minute |

Ken Getz demonstrates several different techniques you can use when building Windows applications (recorded at DevLink), including: Creating owner-drawn controls, binding controls to just about anything, exposing protected information with inheritance, exposing new control behavior using inheritance, handling thread synchronization with Windows forms, and creating your own property grid. Samples are provided in both C# and VB.NET.

Watch .NET Windows Forms Tips and Tricks.(54 min)

Display Controls your own Way

  • Use GDI+ to handle painting yourself
  • For ListBox/ComboBox set the DrawMode property
  • Use Data to Control UI
  • Data binding infrastructure can bind almost any property to any value
  • Notifications based on property change events
  • Expose Protected Info
  • Most functionality of WinForm Controls are protected
  • To use protected info, inherit from control and expose
  • Improve the Look and Feel of Your application
  • Integrate Windows XP and Windows Vista themes

Do you have more Tips and Tricks to share?

Rate this Article

Adoption Stage
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Thanks for this presentation by Brian Schroer

There was so much good stuff at DevLink last year that I had to skip some presentations, and it's great to be able to see some of those!

How do you guys do this? by Charles Cherry

Can someone tell me how you synchronize the powerpoint slides with the video? Is this a product, or is it done via code? I know the video and slides are in Flash, but how do you keep them in sync? Does the video fire an event at specified times, or what?

Thanks!

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

2 Discuss

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and don't miss out on content that matters to you

BT