StrataFrame Forum

Gateway Form

http://forum.strataframe.net/Topic3733.aspx

By Chris Crabtree - 10/20/2006

Often while developing I need to jump back and forth between forms at runtime. Until recently, I would always start with a menu strip and just add an entry per form, code the same form launch stuff in every handler, and so forth. Easy but repetitive.

With SF's idea of a gateway form, there is no need to do this anymore. I simply perform the attached walkthrough once and then it's easy. It would be handy to have some of this baked into the framework in a future version (e.g. a 'SF GenericGatewayForm'template with appropriate logic in the default Program.cs, etc.), but for now I just do some copy and paste on a new project and it saves me time during the initial development iterations.

My apologies for the formatting on the document...this was a slap-it-together at 3:00AM type thing. Hope it's just a little useful...

By Trent L. Taylor - 10/20/2006

Wow!  Thanks for the article...it looks great.  Probably one thing you could do here is create a template...this way is is just another form type and all of the code that you need would already be in place.  So that may be an idea for the future....thanks again!