|
-
October 3rd, 2010, 12:59 PM
#2
Re: Send data from one Win form to another
See the documentation for System.Windows.Forms.OpenFileDialog (http://msdn.microsoft.com/en-us/libr...iledialog.aspx). A file dialog is used in the way you describe. It is instantiated, displayed, the user performs some action and the result is retrieved from the dialog by the calling code using public properties of the dialog. Make picture, colour and text public properties on Form2. Set them appropriately in the OK handler and then read them from Form1.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|