Form Close/Dispose

Answered Closed
0
0

Hi,

in Wisej there are differences from Close or Dispose a form?

regards

Cristian Zerbinati

  • You must to post comments
Best Answer
0
0

Hi Cristian,

The Wisej implementation of Close and Dispose is similar to that in WinForms.  When you show a form modally, i.e., “Form.ShowDialog”, the resources are not disposed automatically.  You’ll need to call Form.Dispose() as well.

When calling it on a non-modal dialog, i.e., “Form.Show”, it will automatically dispose of the resources when calling “Form.Close”

 

HTH,

Levie

  • You must to post comments
0
0

Perfect, thank you

  • You must to post comments
Showing 2 results