The main form of OnLoad override is never called

Next problem: I have a WinForms application that worked fine. However, on Windows7, my MainForm "Load" -event handler is never called. I tried Googleing a bit and found suggestions for checking if the connection to the handler was correct (it was), and secondly, to try to override the OnLoad method. The OnLoad override was called once (I think there were debugs per se), and then no more. Why is the OnLoad override not called? And what can I try to fix it?

Yours faithfully!

+3
source share
1 answer

I think I solved it!

, , OnLoad. OnLoad, 32- DLL 64- . bytes.com/topic/c-sharp/answers/...

, 32-/64- , . , "CurrentDomain_UnhandledException"... .

+2

Source: https://habr.com/ru/post/1771652/


All Articles