p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   C# (http://p2p.wrox.com/forumdisplay.php?f=22)
-   -   Hopping from form to form howto ?? (http://p2p.wrox.com/showthread.php?t=31255)

jeversen July 7th, 2005 02:27 AM

Hopping from form to form howto ??
 
Hello,

i want to make a simple forms application in c#. As the most work i do
is programming for the www I want to know how i can manage to make
a sort of application consisting of a few forms which show as the previous form
is closed. Just like a web-application posting some variables to the next page.

I need this for a sort of signup-tool with a touchscreen. Can anybody give me a clue
how to realize this.

With kind regards
Joris


planoie July 8th, 2005 09:58 AM

Usually this would be done by either exposing some public properties on a form class that you set from code in one form, then you call the new forms .Show() method. Or you could create a method on the new form that accepts the parameters you need and calls its own .Show() method.

Try here for the System.Windows.Form class:
http://msdn.microsoft.com/library/en...mberstopic.asp

(Please note, I'm primarily a www developer too so I'm no WinForms expert.)

-Peter


All times are GMT -4. The time now is 05:05 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.