Getting Started - Pass Stringbuilder Between Forms

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm basically a VB programmer taking my first steps in C#. I have a little
C++ experience, so I'm not completely lost.

I am having a tought time figuring out exactly how to emulate passing data
between forms like I'd do in VB. Often I'd use a module with public
variables...in VC++ I'd use member variables...

How can I do this in C#? Any hints/help appreciated. TIA
 
Ed,

You can always expose a method on the new form which you can pass the
StringBuilder to. Then, your form can process it accordingly. A form is
like any other object. You can store references in it like other objects,
and save references to objects passed in through properties, methods, etc,
etc.

Hope this helps.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top