This is called the State Design Pattern. A quick google search: state design pattern vb - Google Search[^]. There are many examples to choose from, like: State Machine - State Pattern vs. Classic Approach - Code Project[^]
I'm wanting to use a state engine within my application, I've done a lot of googling but the only how-to's available online show state engines running as a console application. What I looking at doing is : The windows form ( on button press )...