Пример #1
0
 /// <summary>
 /// Wait at most `time' seconds for user interface events and return. If `time'
 ///  0, wait indefinitely. First automatically create the user interface if it
 /// has not yet been initialized. Can only be called in the main thread.
 /// </summary>
 public void Wait(double time = -1)
 {
     GMshNativeMethods.gmshFltkWait(time, ref ierr);
     if (ierr != 0)
     {
         throw new GMshException(ierr);
     }
 }