Skip to main content
1 de 2
Luis
  • 1.6k
  • 9
  • 9

Has probado de este modo?

Action<object, CancelEventArgs> closingEventHandler = (s, e) => {
    // tu código
    e.Cancel = true;
};

this.Closing += closingEventHandler ;

// mas adelante...

this.Closing -= closingEventHandler;
Luis
  • 1.6k
  • 9
  • 9