Pass string to another form. Need a simpler way.
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);