#74 Feature Request 3472568 - FileClosing Event

closed
nobody
None
5
2012-02-04
2012-01-11
Adam stirk
No

Please find attached a patch to implement the FileClosing event as per feature request https://sourceforge.net/tracker/?func=detail&aid=3472568&group_id=95013&atid=609911.

Regards

Adam

Discussion

  • Adam stirk
    Adam stirk
    2012-01-11

    MainForm_Events.cs

     
    Attachments
  • Adam stirk
    Adam stirk
    2012-01-11

    MainForm_Functions.cs

     
    Attachments
  • Dominik Reichl
    Dominik Reichl
    2012-02-04

    Patch

     
    Attachments
  • Dominik Reichl
    Dominik Reichl
    2012-02-04

    I've included your patch and have enhanced it. Plugins may now cancel the closing process (by setting Cancel of the file closing event args to true). Moreover, there are two file closing events: one before (automatic) saving and one afterwards. See Patch.txt.

    Thanks and best regards
    Dominik

     
  • Dominik Reichl
    Dominik Reichl
    2012-02-04

    • status: open --> closed