With my example code and unmanaged debugging turned on the text is written to the console! I just tested it. The method is called.
I also tested inserting a breakpoint and caught the dispose call. I stepped all the way down to the dispose method on the base Form control and all seems fine.
You mentioned earlier that you thought that it was a GDI problem, but that you ruled that out. But there are a number of known disposning problems within GDI. So maybe the problem is there after all?
I also tested inserting a breakpoint and caught the dispose call. I stepped all the way down to the dispose method on the base Form control and all seems fine.
You mentioned earlier that you thought that it was a GDI problem, but that you ruled that out. But there are a number of known disposning problems within GDI. So maybe the problem is there after all?