Revisiting the Form Stack

Long, long ago I wrote an article for MSDN on creating a multi-Form CF application that used a Form Stack.  Since we all tend to grow and learn as developers, we find different ways to do things (and generally we scoff at code we wrote years before as inferior crap).  Well Peter Nowak is giving …

Continue reading ‘Revisiting the Form Stack’ »

Debugging Smart Device MSTEST Unit Tests

If you’ve ever done mstest unit testing with a Smart Device project, then you’re painfully aware of how badly Microsoft dropped the ball on this one.  Debugging a unit test requires making device registry modifications, adding a call to Debugger.Break in your code, then telling Studio to Attach to Remote Process once the breakpoint has …

Continue reading ‘Debugging Smart Device MSTEST Unit Tests’ »

Project Resistance Note: This will be a slow week

For those following Project Resistance, this is probably going to be a week with little progress.  I’ve got a major milestone on another project that we’re trying to prepare for followed by an on-site installation so my activity in the code base will be very, very limited.  I believe Alex is also on-site and swamped …

Continue reading ‘Project Resistance Note: This will be a slow week’ »

Project Resistance: Event Aggregation with OpenNETCF.IoC

So my final piece of functionality for the week in Project Resistance was to add key handling to the code base.  The idea is that if you’re running on a non-touch device (or for some reason want to use the D-Pad on a touch device) then you need some ability to “select” a resistance band …

Continue reading ‘Project Resistance: Event Aggregation with OpenNETCF.IoC’ »

Project Resistance: Form Painting and Comments on the Studio Designer

I didn’t do much today with Project Resistance, but that didn’t stop progress. Alex got all of the background paionting ironed out today while I was screwing around with paying work.  It looks pretty nice (well, except for the lower workspace, which is awaiting artwork): I did do some thinking on the broader process of developing …

Continue reading ‘Project Resistance: Form Painting and Comments on the Studio Designer’ »

Project Resistance, Day 4: graphic fixes and more gesturing

We’ve made more today progress on Project Resistance.  It turns out that the earlier bug was indeed due to the fact that in the Compact Framework Color.Transparent is not a transparent color.  How intuitive.  If you do Graphics.Clear(Color.Transparent) what actually occurs is that the underlying bitmap gets filled with white.  We (and by “we” I …

Continue reading ‘Project Resistance, Day 4: graphic fixes and more gesturing’ »

Project Resistance: iPhone Edition

Today has been a slow day here for Project Resistance because I’m neck deep in writing other code.  I did manage to get the gesture events for the Tolernace band on the ResistorView plumbed in so now you can swipe up/down with your finger and it actually changes the band color (though I noticed I …

Continue reading ‘Project Resistance: iPhone Edition’ »

Project Resistance: Transparency in the Compact Framework sucks

Alex made some headway over the weekend on Project Resistance with the ResistorView and doing some drawing.  Now (on the WinMo classic emulator) it looks like this: Notice the white border around the bands.  Nicely enough, Alex gave me a bug item for this, so I started looking at it this morning, thinking that maybe …

Continue reading ‘Project Resistance: Transparency in the Compact Framework sucks’ »

Project Resistance: Windows Marketplace acceptance

Well, last night I got an email from Microsoft: Not too bad.  Less that 48 hours from when we applied we got accepted, and I’m not sure what “contact” I was supposed to get from GeoTrust.  I did get an email response immediately after the application (within a few minutes) to confirm my contact info, …

Continue reading ‘Project Resistance: Windows Marketplace acceptance’ »

Project Resistance Day 2 : Unit tests, gestures and Registering with Microsoft

I didn’t have a whole lot of time today to code on Project Resistance, so it didn’t progress as far as I’d have liked, but I did get a few important things done.  First off I got the unit test project added to SCC after being admonished by Nick.  I did a little bit of …

Continue reading ‘Project Resistance Day 2 : Unit tests, gestures and Registering with Microsoft’ »