Control on a tabpage
Why the control.OnHandleDestroyed() is not called when the parent TabPage is removed using the tabControl1.R开发者_开发百科emoveAt() call?
Thanks.
May be Dispose is not called on removed TabPages..You can add
Dispose();
or
GC.Collect();
GC.WaitForPendingFinalizers();
after removing to force garbage collector run its cycle.
Hope that helps.
精彩评论