RSS .92| RSS 2.0| ATOM 0.3
  • Home
  • About
  • Eric’s Toolset
  • Free Software
  • Software License
  •  

    .NET Color Struct Equality

    December 16th, 2009

    When is white not white? When one is Color.White and the other is Color.FromArgb(0xff, 0xff, 0xff, 0xff).

    Read the rest of this entry »


    Defeating Antivirus System Pro

    December 3rd, 2009

    Antivirus System Pro is an irksome piece of malware that holds your computer hostage until you pay a ransom. It is nothing short of extortion. I just spent a few evenings removing it from a friend’s computer, and the dozens of articles on the web (and even YouTube videos) were all wrong about how to get rid of this instance.
    Read the rest of this entry »


    Transparent WinForms Label

    November 28th, 2009

    Easy control transparency isn’t exactly a hallmark of Windows Forms. If you have a form with a background image or a gradient, the stock controls paint with a solid background to give a criminally egregious aesthetic.

    Read the rest of this entry »


    Rounded Rectangluar Regions

    November 19th, 2009

    There are lots of examples that demonstrate how to draw a rectangle with rounded corners using GDI+ in .NET. Converting such a rectangle to a Region so that it can be filled or be used for the geometry of a window can have less than perfect results, though.
    Read the rest of this entry »


    Self-Referential Segues

    October 3rd, 2009

    If you say “segue” while attempting one, you’ve already blown it.


    Silverlight Localization

    July 8th, 2009

    The official Silverlight documentation about localization gives lots of information about working with resource files, but it is kind of scant on how to actually get localized strings to show up in the UI in a reasonable way. For example, an unreasonable way would be to set the text/content properties of all the controls in a page’s code-behind file. A reasonable way is to use data binding.

    Read the rest of this entry »


    Unit Testing Silverlight View Models

    June 8th, 2009

    Being relatively new to Silverlight development, I’ve not had the good sense to accept conventional wisdom that the Visual Studio unit test framework can’t be used to test Silverlight code. For testing view models at least, I’ve been successfully using Mstest and Rhino Mocks for a few months now.

    Read the rest of this entry »


    Cell Phone Service for the Non-Garrulous

    February 21st, 2009

    I’m a man of few words. Well, vocally anyway. My wife has teased that I must have a fixed daily allotment of spoken words, and on evenings when I’m particularly quiet, I must have used them up already. I’m not sure if she buys the “still waters run deep” explanation, but not being much of a talker comes in handy for getting cheap cell phone service.

    Read the rest of this entry »


    The Best of PDC 2008

    January 17th, 2009

    For those of us poor folk who didn’t make it to PDC this past fall, Microsoft has been taking the show to us in the form of its MSDN Unleashed series. Rob Bagby, developer evangelist, came to Salt Lake City to present and give updates about new and upcoming technologies for developers.

    Read the rest of this entry »