Thanks for clarifying that fellas
"Herfried K. Wagner [MVP]" <hirf-spam-me-(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>* "Steve Austin" <(E-Mail Removed)> scripsit:
>> Is this absolutely necessary to avoid memory leaks? If so, would:
>>
>> using( MyForm form = new MyForm() )
>> {
>> form.ShowDialog();
>> }
>>
>> be acceptable?
>
> In addition to the other post: Call 'Dispose' for forms shown using
> 'ShowDialog', don't call it for forms shown using 'Show'. These forms
> will be disposed automatically when they are closed.
>
> --
> Herfried K. Wagner [MVP]
> <URL:http://dotnet.mvps.org/>