Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
| Search | Today's Posts | Mark Forums Read
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 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 July 11th, 2006, 06:13 PM
Registered User
 
Join Date: Jul 2006
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default passing vars

How do I make a string array called SlideArray which is declared in form1 visible in form2?. A code snippet would be welcome as I am new to c#.

 
Old July 17th, 2006, 07:10 AM
Friend of Wrox
 
Join Date: May 2006
Location: Delhi, Delhi, India.
Posts: 106
Thanks: 0
Thanked 0 Times in 0 Posts
Default

use property


public string[] ViewSlideArray
  {
    get
       { return SlideArray;
        }
   set
     {
      SlideArray=value;
      }

  }

Bijgupt




Similar Threads
Thread Thread Starter Forum Replies Last Post
Insert New Row from Session Vars iceandrews VB Databases Basics 1 May 12th, 2008 08:16 AM
Security: Could someone falsificate session vars? Maxxim ASP.NET 2.0 Professional 5 February 13th, 2008 12:06 PM
Calendar Control 9 .. separating date vars Chantale Access VBA 2 December 2nd, 2004 03:57 PM
Vars passed to SQL Stored Procedures deanglass ASP.NET 1.0 and 1.1 Basics 1 March 15th, 2004 05:35 PM
Why is it bad to put Objects into Session Vars? treycarroll Beginning PHP 3 August 18th, 2003 12:44 PM





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