Gustavo

Gustavo

  • NA
  • 1.8k
  • 385.6k

Pass string to another form. Need a simpler way.

Feb 20 2010 4:49 PM

Hello:
I have the floowing code many many times in my code. Is there a way to code it into 1 or 2 lines?
string NYIMessage = "New";
FormNYI FormNYI = new FormNYI(); // Form Not Yet Implemented Dialog
FormNYI.ShowDialog(
ref NYIMessage);

Answers (5)