Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 4.0 aka C# 2010 > C# 4.0 aka C# 2010 General Discussion
|
C# 4.0 aka C# 2010 General Discussion Discussions about the C# 4.0, C# 4, Visual C# 2010 language and tool not related to any specific Wrox book
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 4.0 aka C# 2010 General Discussion section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 3rd, 2011, 04:03 AM
Registered User
 
Join Date: Jul 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default C# variable input Form1 and displayed Form2

In C#, how do you make variable input in Form1 available and displayed in Form2. In VB6 this could be accomplished by simply declaring the variable public.
 
Old September 7th, 2011, 05:01 PM
Wrox Author
 
Join Date: Sep 2010
Posts: 175
Thanks: 3
Thanked 53 Times in 53 Posts
Default

public has the same meaning in VB and in C#
__________________
Christian
CN innovation
Visit my blog at: csharp.christiannagel.com
Follow me on twitter: @christiannagel





Similar Threads
Thread Thread Starter Forum Replies Last Post
Refresh combobox in form1 after form2 is closed miscafe C# 2005 5 January 14th, 2010 03:37 AM
Notice: Undefined variable error on input form tonyb187 Pro PHP 2 May 11th, 2008 06:58 AM
Input javascript variable into hyperlink column toddw607 ASP.NET 2.0 Basics 1 April 17th, 2008 10:12 AM
<input> to Param or Variable bonekrusher XSLT 1 October 11th, 2006 06:00 PM
Can't display input variable passed on to php code mespejo Beginning PHP 2 November 25th, 2003 03:32 PM





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