Exemplo n.º 1
0
 /// <summary>
 /// <para>Wait for the next event, process it, and then return.</para>
 /// </summary>
 ///
 /// <returns>
 /// <para>Returns <see langword="true"/> if an event was processed,
 /// or <see langword="false"/> if <c>Quit</c> was detected.</para>
 /// </returns>
 public bool WaitForEvent()
 {
     if (display != null)
     {
         return(display.WaitForEvent());
     }
     else
     {
         return(false);
     }
 }