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