Posts

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:… You can read the copy of the original post, or if that goes down too, you can try the Wayback Machine’s copy of it. Context: This post was automatically imported from my old blog, which was originally hosted on Microsoft’s ASP.
2007-04-01
1 min read

Things To Consider When Creating An Undo Mechanism

Brainstorming an undo-redo mechanism at work today and here are a couple of thoughts:… You can read the copy of the original post, or if that goes down too, you can try the Wayback Machine’s copy of it. Context: This post was automatically imported from my old blog, which was originally hosted on Microsoft’s ASP.NET Community Blogs. When they shut it down, I dumped all of my old posts to Wordpress. You can still check out the original blog on the Wayback Machine.
2007-03-26
1 min read

A C# Riddle, Try #2

The code below compiles (sorry about that again) and is actually the code problem I originally wanted to post. Now play the compiler – which is Bar’s base class and why:… You can read the copy of the original post, or if that goes down too, you can try the Wayback Machine’s copy of it. Context: This post was automatically imported from my old blog, which was originally hosted on Microsoft’s ASP.NET Community Blogs. When they shut it down, I dumped all of my old posts to Wordpress.
2007-03-09
1 min read