I have a button on one form that, when clicked, closes the current form and opens a second form.
When that second form is closed, I want to reopen the first form. (When I was leaving the first form open I was getting strange results, since the 2nd form will be editing information on the first form, hence closing the first form)
Since I have the same button on more than one form, I need to find out which form called the second form.
I am already passing a value in OpenArgs. Although I can add a starting or trailing code and strip it out, I was wondering if there is another, more elegant method.
When that second form is closed, I want to reopen the first form. (When I was leaving the first form open I was getting strange results, since the 2nd form will be editing information on the first form, hence closing the first form)
Since I have the same button on more than one form, I need to find out which form called the second form.
I am already passing a value in OpenArgs. Although I can add a starting or trailing code and strip it out, I was wondering if there is another, more elegant method.