Omer van Kloeten's .NET Zen

Programming is life, the rest is mere details

News

Note: This blog has moved to omervk.wordpress.com.

Omer van Kloeten's Facebook profile

Omer has been professionally developing applications over the past 8 years, both at the IDF’s IT corps and later at the Sela Technology Center, but has had the programming bug ever since he can remember himself.
As a senior developer at NuConomy, a leading web analytics and advertising startup, he leads a wide range of technologies for its flagship products.

Get Firefox


powered by Dapper 

.NET Resources

Articles :: CodeDom

Articles :: nGineer

Culture

Projects

Browse by Tags

All Tags » Windows Forms (RSS)
Why Reship a Buggy API?
Version 1.0 of the .NET Framework introduced System.Drawing.Region 's Union method , designed to union two regions or several other types into a region. A bug, first reported in 2001, caused unexpected behavior. The method's output was determined as unreliable...
Windows Forms' GenerateMember
A little known, as far as I can tell from asking around, yet extremely useful property in the Windows Forms designer's property grid is GenerateMember . Defaulting to true , it decides whether a control/component gets declared as a field on the form ...
Finding Out Why Control.Invoke Throws Undocumented Exceptions
A colleague was baffled by having Control.Invoke (when called from a different thread) throw an ArgumentException at him and asked if I knew what was happening. Opening the stack trace, I found that the exception originated from Control.MarshaledInvoke...
Bubbling Windows Forms Events With Anonymous Methods
The following code illustrates a great use for anonymous methods. public class MyContainerControl : Control { private class MySpecializedControl : Control { protected virtual void OnMyEvent(EventArgs e) { if ( this .MyEvent != null ) this .MyEvent( this...
Generic Windows Forms Controls
Today I discovered that the Windows Forms Designer in Visual Studio 2005 doesn't know how to handle generics. For instance, the following example: private class MyControl<T> : System.Windows.Forms.Control { } could not be dropped in a Windows Forms...
Windows XP and Almost Maximized Windows
I believe I am not the only person in the world who likes to work only with maximized windows and Alt+Tab - there are quite a lot of advantages to that approach, mainly the fact that you can pull your mouse to the upper-right corner of the screen and...
More Posts