Hi Jim,
A form is a class in .NET. To pass in a parameter, you would create a constructor in the code for your form like the following:
Public Sub New(Byval YourValue as Integer)
MyBase.New()
InitializeComponent()
End Sub
As far as your other question, can you elaborate on what type of objects you mean?
>Hello,
>
> Two Questions:
>
>1. How to share non Visual Objects between forms.
>
>2. Is there a way to create a constructor? If not, how would I pass a parameter to a form?
-----------------------------------------
Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.comwww.prenia.comWeblog: blogs.prenia.com/cathi