MDI form - disposing child don't close MdiTab

Answered
0
0

Hi,

in a midform if I dispose a child form with me.dispose, the mdiTab don’t go away… I must use me.close and next me.dispose

I think it would be right if the mditab to go away disposing the form?

see attach example

regards

Cristian Zerbinati

Attachment
  • You must to post comments
Best Answer
0
0

Hi Cristian,

You’re right, it should remove the tab. I’ll log the issue as a bug!

BTW,

You don’t need to call Form.Dispose() when using Form.Show(), it’s called automatically through Form.Close().

The only time you need to use Dispose() is when you create a form, but never show it or use ShowDialog().

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.