C# FAQ: How pass parameters from one form to another

Jump to: navigation, search

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 internal visibility.


More Visual C# and Windows Forms FAQs

Go to Visual CSharp FAQ (main page).

Consider these related Frequently Asked Questions—FAQs:

  1. How To: Monitor changes to Clipboard contents?
  2. How To: Pass parameters from one form to another?
  3. How To: Paste plain text into a RichTextBox?
  4. How To: Set the background of an MDI container window?
C# Online.NET