Esempio n. 1
0
 /// <summary>
 /// Stops flashing the window.
 /// </summary>
 private void StopFlash()
 {
     Win32.FLASHWINFO fi = Win32.CreateFlashWInfo(this.Handle, Win32.FLASHW_STOP, uint.MaxValue, 0);
     Win32.FlashWindowEx(ref fi);
 }
Esempio n. 2
0
 /// <summary>
 /// This method flashes the window 3 times.
 /// </summary>
 public virtual void FlashWindow()
 {
     Win32.FLASHWINFO fi = Win32.CreateFlashWInfo(this.Handle, Win32.FLASHW_ALL, 3, 0);
     Win32.FlashWindowEx(ref fi);
 }