>Hello Craig.
>Described by you method will work only when object accessible after terminating Show() method. If I teminate form with "thisform.Release()" command in "btnClose.Click()" method, the form object reference variable becames empty (containes .null.).
>I wonder if there is an easy (beautiful) way to accomplish variables exchange, like "retvar = object.Show()" or smth.
Then the solution is to NOT call the Release method of the form.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer