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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top