public NotificationInformation( Icon icon, ToolTipIcon toolTipIcon, ToastIcons toastIcon, PlaySymbols playSymbol, bool isBlink, bool isLong) { this.Icon = icon; this.ToolTipIcon = toolTipIcon; this.ToastIcon = toastIcon; this.PlaySymbol = playSymbol; this.IsBlink = isBlink; this.IsLong = isLong; }
public static void Play(PlaySymbols playSymbol) { PlaySound(playSymbol.ToString().Replace('_', '.'), IntPtr.Zero, PlaySoundFlags.SND_ALIAS | PlaySoundFlags.SND_ASYNC | PlaySoundFlags.SND_NODEFAULT | PlaySoundFlags.SND_NOSTOP | PlaySoundFlags.SND_NOWAIT); }