Application.AllowQuit in Windows Form

  • Thread starter Thread starter CG
  • Start date Start date
C

CG

Hi all,

I have a Windows form program and calling application.exit works as
expected when called through an event (drag drop over the running program).

But without an event (when dragging and dropping contents over the program
symbol and thus starting the program) I can't exit my application.

Applicaton.AllowQuit gives back false. The sdk documentation says
Application.AllowQuit should only give back false if called from an control
hosted within a web browser. but apparently I have a standalone windows
application ...

can anyone tell me how I can quit my program?

claus
 
Back
Top