Gateway Form


Author
Message
Chris Crabtree
Chris Crabtree
StrataFrame User (157 reputation)StrataFrame User (157 reputation)StrataFrame User (157 reputation)StrataFrame User (157 reputation)StrataFrame User (157 reputation)StrataFrame User (157 reputation)StrataFrame User (157 reputation)StrataFrame User (157 reputation)StrataFrame User (157 reputation)
Group: Forum Members
Posts: 57, Visits: 107
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...

Attachments
Gateway.doc (178 views, 334.00 KB)
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
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!
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search