M
Michael Sander
Hi,
I found out, that a simple Form, created only with the designer, wont
Dispose its contextmenu if you show the form, right-click it, and dispose
the form afterwards.
This isnt really what I expected and causes some huge memory-leaks in my
app.
All works fine, if I add the ContextMenu to the form.components manually.
(funny, the designer tells me not to modify the InitializeComponent(), but
since it works so stupid, I'll have to)
To me this doens't look like how it's meant to be, so can somebady please
tell me how it should work?
Regards,
Michael Sander
I found out, that a simple Form, created only with the designer, wont
Dispose its contextmenu if you show the form, right-click it, and dispose
the form afterwards.
This isnt really what I expected and causes some huge memory-leaks in my
app.
All works fine, if I add the ContextMenu to the form.components manually.
(funny, the designer tells me not to modify the InitializeComponent(), but
since it works so stupid, I'll have to)
To me this doens't look like how it's meant to be, so can somebady please
tell me how it should work?
Regards,
Michael Sander