C# FAQ: How pass parameters from one form to another
Microsoft .NET Framework, ASP.NET, Visual C# (CSharp, C Sharp, C-Sharp) Developer Training, Visual Studio
| CSharp-Online.NET:FAQs |
| edit |
[edit]
How pass parameters from one form to another?
Forms are normal objects. To call a method or pass a parameter from one form (source) to another form (destination), two things are required:
- a reference to the destination form in the source form;
- the method or property of the destination form must be accessible—normally a minimum of
internalvisibility.