Shutting down event

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • John

    Shutting down event

    Hi

    How can my app check if windows is being shutdown so it can do the necessary
    clean up and close?

    Thanks

    Regards


  • Mattias Sjögren

    #2
    Re: Shutting down event

    >How can my app check if windows is being shutdown so it can do the necessary
    >clean up and close?
    Handle the SystemEvents.Se ssionEnding event.


    Mattias

    --
    Mattias Sjögren [C# MVP] mattias @ mvps.org
    http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
    Please reply only to the newsgroup.

    Comment

    Working...