public void SheetDidEndReturnCodeContextInfo(NSWindow sheet, NSInteger returnCode, IntPtr contextInfo) { this.modalDelegate(sheet, returnCode, contextInfo); this.Autorelease(); } }