22 references to ToolTipIcon
System.Windows.Forms (21)
winforms\Managed\System\WinForms\NotifyIcon.cs (14)
58private ToolTipIcon balloonTipIcon; 130DefaultValue(ToolTipIcon.None), 133public ToolTipIcon BalloonTipIcon { 139if (!ClientUtils.IsEnumValid(value, (int)value, (int)ToolTipIcon.None, (int)ToolTipIcon.Error)){ 140throw new InvalidEnumArgumentException("value", (int)value, typeof(ToolTipIcon)); 669public void ShowBalloonTip(int timeout, string tipTitle, string tipText, ToolTipIcon tipIcon) { 681if (!ClientUtils.IsEnumValid(tipIcon, (int)tipIcon, (int)ToolTipIcon.None, (int)ToolTipIcon.Error)){ 682throw new InvalidEnumArgumentException("tipIcon", (int)tipIcon, typeof(ToolTipIcon)); 704case ToolTipIcon.Info: data.dwInfoFlags = NativeMethods.NIIF_INFO; break; 705case ToolTipIcon.Warning: data.dwInfoFlags = NativeMethods.NIIF_WARNING; break; 706case ToolTipIcon.Error: data.dwInfoFlags = NativeMethods.NIIF_ERROR; break; 707case ToolTipIcon.None: data.dwInfoFlags = NativeMethods.NIIF_NONE; break;
winforms\Managed\System\WinForms\ToolTip.cs (7)
74ToolTipIcon toolTipIcon = (ToolTipIcon)0; 520DefaultValue(ToolTipIcon.None), 523public ToolTipIcon ToolTipIcon { 530if (!ClientUtils.IsEnumValid(value, (int)value, (int)ToolTipIcon.None, (int)ToolTipIcon.Error)) 532throw new InvalidEnumArgumentException("value", (int)value, typeof(ToolTipIcon));
System.Workflow.ComponentModel (1)
AuthoringOM\Design\DesignerWidgets.cs (1)
2344IntPtr lresult = NativeMethods.SendMessage(Handle, NativeMethods.TTM_SETTITLE, new IntPtr((int)ToolTipIcon.None), titleStr);