Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Shared struct
Message
From
13/07/2005 09:47:15
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
All
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
Shared struct
Miscellaneous
Thread ID:
01032193
Message ID:
01032193
Views:
56
I want to pass a struct as a parameter from one form to another. Where do I have to define the struct so that it is available in more than one form? In a separate class, perhaps?

For a quick-and-dirty solution, I tried to copy-and-paste the struct definition from one form to another (knowing full well that this isn't the ideal solution), but the compiler rejects it, saying it can't convert the parameters.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Next
Reply
Map
View

Click here to load this message in the networking platform