Is there a simple .NET code generator for a Event-driven finite state machine?
I am tired of doing this by hand for user-interface objects. I just need the enum definition, the switch statement, and each function call. I do not need a "library".
See Event-driven finite state machine at http://en.wikipedia.org/wiki/Event_driven_finite_state_machine.
State Machines in C# 3.0 using T4 Templates at http://aabs.wordpress.com/2008/06/26/state-machines-in-c-30-using-t4-templates/ seems like it is what I want but the link to the example code is broken.