[EMAIL PROTECTED] How to catch window close event ?

2008-10-16 Thread Miguel De Buf
Hi, I try to catch a window close event in my controller class, but the eventhandler never gets executed. This is my code : using System; using System.Collections.Generic; using System.Text; using Monobjc; using Monobjc.Cocoa; namespace windows_events { [ObjectiveCClass] public class

Re: [EMAIL PROTECTED] How to catch window close event ?

2008-10-16 Thread Miguel De Buf
); } [ObjectiveCMessage(windowWillClose:)] public void windowWillClose(NSNotification notification) { Console.WriteLine(window closes); } } } Cheers, Miguel Miguel De Buf wrote: Hi, I try to catch a window close event in my controller class, but the eventhandler