Mad Props!

Omniscience is just a Google-search away.

Login

You're reading Mabsterama, the weblog of Matt Hamilton. Enjoy your stay.

Blog

Enter-to-Tab in WPF

Like many users of line-of-business applications, my own users just can't understand the Tab key. For them, pressing Enter on the keyboard shouldn't submit a form, it should just move their focus to the next control. Back in the Windows Forms days there was a neat way to achieve this functionality: You...

Continue reading →

100011

Today I turn 35! Fate was kind enough to schedule a four-day weekend around my birthday so it's like an extended birthday celebration for me this year. People really seem to be embracing the concept - they're giving each other chocolate eggs in my honour etc. Couldn't be happier. My birthday haul this...

Continue reading →

Back to Basics - Reading a .CSV File

I knocked up a very quick program yesterday to read in a .CSV file and present it to the user in a DataGridView for editing (and eventually saving to a database). While discussing the code with Andrew this morning, he suggested a post in the same vain as Carl Franklin 's "Better Know a Framework" from...

Continue reading →

Imposing Interfaces onto Classes with Extension Methods

Before you get excited, this post is just about floating an idea rather than explaining how to do something, but bear with me and see if you think it'd be handy. Imagine you're given a class library with a Customer class in it. You want to make a nice little modal edit form so your user can edit a Customer...

Continue reading →

Bil Simser is my Canadian Doppelgänger

So Bil Simser made a comment in a recent post on his blog that he used to work on a project called Harbour . Harbour was an open-source attempt to write a CA Clipper compiler, and had a bit of a cult following amongst a dedicated group of Clipperheads. Now, if you look at the list of people who worked...

Continue reading →

Compact Framework or Silverlight?

Shawn Wildermuth posted overnight about a news story that Microsoft is working with Nokia to get Silverlight working on Symbian phones. He also links to an article that mentions Silverlight getting a Windows Mobile port. Now, when Silverlight 1.1 (now 2.0) was first announced as having a subset of the...

Continue reading →

Code Camp Oz Live Twittering

If you're headed to Code Camp Oz this year, Andrew has come up with a novel idea. Using Hashtags , we can have attendees live-twittering (tweeting?) the event. All you need to do is follow @hashtags on Twitter, and then include the word "#ccoz" in your tweet. Then you can subscribe to the #ccoz...

Continue reading →

Is MS Solving ORM from the Wrong End?

On my drive home this afternoon I listened to episode 102 of Hanselminutes , where Scott talks to Mike Pizzo from the ADO.NET Entity Framework team. Mike's description of the EF was great - it was a much better show than the recent .NET Rocks! episode on the same topic. Something that Mike said, however...

Continue reading →

Geek Dinner Postponed

I doubt I'll catch anyone in time if they're planning on going tonight, but our geek dinner has been postponed 'til next Tuesday. Still at the Boomerang Motel, still at 7pm. Hope to see you there!

Generic Extension Methods Example

Ayende has posted about generic extension methods , in particular his surprise that they work at all. In the same vein, I thought I'd post some code that we're using in production here at work. Pete had to assign a bunch of data to a set of rows in a DataTable, but didn't want to change anything if the...

Continue reading →