共用方式為


NSApplicationDelegate.ApplicationShouldTerminateAfterLastWindowClosed 方法

定義

[Foundation.Export("applicationShouldTerminateAfterLastWindowClosed:")]
public virtual bool ApplicationShouldTerminateAfterLastWindowClosed (AppKit.NSApplication sender);
abstract member ApplicationShouldTerminateAfterLastWindowClosed : AppKit.NSApplication -> bool
override this.ApplicationShouldTerminateAfterLastWindowClosed : AppKit.NSApplication -> bool

參數

sender
NSApplication

傳回

屬性

適用於