コード例 #1
0
 /// <summary>
 /// Application should terminate after last window closed? No? Are you sure?
 /// </summary>
 /// <param name="application"></param>
 /// <returns>No if you want to see application in dock =)</returns>
 public bool applicationShouldTerminateAfterLastWindowClosed(NSApplication application)
 {
     Console.WriteLine("All windows in {0} are closed..", application.ToString());
     return(true);
 }