54 instantiations of NotifyIcon
System.Windows.Forms.Design.Tests (2)
System\Windows\Forms\Design\NotifyIconDesignerTests.cs (2)
14
using NotifyIcon icon =
new
();
25
using NotifyIcon icon =
new
();
System.Windows.Forms.Tests (52)
System\Windows\Forms\NotifyIconTests.cs (52)
15
using NotifyIcon notifyIcon =
new
();
32
using NotifyIcon notifyIcon =
new
(container);
48
Assert.Throws<ArgumentNullException>("container", () => new
NotifyIcon
(null));
55
NotifyIcon notifyIcon =
new
()
70
NotifyIcon notifyIcon =
new
();
78
using NotifyIcon notifyIcon =
new
()
93
using NotifyIcon notifyIcon =
new
()
110
using NotifyIcon notifyIcon =
new
()
125
using NotifyIcon notifyIcon =
new
()
148
using NotifyIcon notifyIcon =
new
()
164
using NotifyIcon notifyIcon =
new
()
181
using NotifyIcon notifyIcon =
new
();
202
using NotifyIcon notifyIcon =
new
()
218
using NotifyIcon notifyIcon =
new
()
235
using NotifyIcon notifyIcon =
new
()
264
using NotifyIcon notifyIcon =
new
()
289
using NotifyIcon notifyIcon =
new
()
307
using NotifyIcon notifyIcon =
new
();
318
using NotifyIcon notifyIcon =
new
()
347
using NotifyIcon notifyIcon =
new
()
364
using NotifyIcon notifyIcon =
new
()
410
using NotifyIcon notifyIcon =
new
()
429
using NotifyIcon notifyIcon =
new
();
437
using NotifyIcon notifyIcon =
new
()
456
using NotifyIcon notifyIcon =
new
()
476
using NotifyIcon notifyIcon =
new
()
504
using NotifyIcon notifyIcon =
new
()
536
using NotifyIcon notifyIcon =
new
()
560
using NotifyIcon notifyIcon =
new
()
572
using NotifyIcon notifyIcon =
new
();
587
using NotifyIcon notifyIcon =
new
();
602
using NotifyIcon notifyIcon =
new
();
617
using NotifyIcon notifyIcon =
new
();
632
using NotifyIcon notifyIcon =
new
();
647
using NotifyIcon notifyIcon =
new
();
662
using NotifyIcon notifyIcon =
new
();
677
using NotifyIcon notifyIcon =
new
();
692
using NotifyIcon notifyIcon =
new
();
707
using NotifyIcon notifyIcon =
new
();
722
using NotifyIcon notifyIcon =
new
();
771
using NotifyIcon notifyIcon =
new
()
824
using NotifyIcon notifyIcon =
new
()
838
using NotifyIcon notifyIcon =
new
()
861
using NotifyIcon notifyIcon =
new
()
879
using NotifyIcon notifyIcon =
new
()
896
using NotifyIcon notifyIcon =
new
();
905
using NotifyIcon notifyIcon =
new
()
918
using NotifyIcon notifyIcon =
new
()
939
using NotifyIcon notifyIcon =
new
()
952
using NotifyIcon notifyIcon =
new
();
961
using NotifyIcon notifyIcon =
new
()
973
using NotifyIcon notifyIcon =
new
();
72 references to NotifyIcon
DesignSurface (1)
MainForm.cs (1)
277
surface.CreateComponent<
NotifyIcon
>();
System.Windows.Forms (5)
System\Windows\Forms\NotifyIcon.cs (3)
55
/// Initializes a new instance of the <see cref="
NotifyIcon
"/> class.
65
/// Initializes a new instance of the <see cref="
NotifyIcon
"/> class.
379
/// Releases the unmanaged resources used by the <see cref="
NotifyIcon
" />
System\Windows\Forms\NotifyIcon.NotifyIconNativeWindow.cs (2)
15
internal
NotifyIcon
_reference;
21
internal NotifyIconNativeWindow(
NotifyIcon
component)
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\NotifyIconDesigner.cs (2)
16
NotifyIcon
icon = (
NotifyIcon
)Component;
System.Windows.Forms.Design.Tests (4)
EnsureEditorsTests.cs (2)
123
[InlineData(typeof(
NotifyIcon
), "BalloonTipText", typeof(MultilineStringEditor))]
124
[InlineData(typeof(
NotifyIcon
), "Text", typeof(MultilineStringEditor))]
System\Windows\Forms\Design\NotifyIconDesignerTests.cs (2)
14
using
NotifyIcon
icon = new();
25
using
NotifyIcon
icon = new();
System.Windows.Forms.Tests (60)
System\Windows\Forms\NotifyIconTests.cs (60)
15
using
NotifyIcon
notifyIcon = new();
32
using
NotifyIcon
notifyIcon = new(container);
55
NotifyIcon
notifyIcon = new()
70
NotifyIcon
notifyIcon = new();
78
using
NotifyIcon
notifyIcon = new()
93
using
NotifyIcon
notifyIcon = new()
110
using
NotifyIcon
notifyIcon = new()
125
using
NotifyIcon
notifyIcon = new()
148
using
NotifyIcon
notifyIcon = new()
164
using
NotifyIcon
notifyIcon = new()
181
using
NotifyIcon
notifyIcon = new();
202
using
NotifyIcon
notifyIcon = new()
218
using
NotifyIcon
notifyIcon = new()
235
using
NotifyIcon
notifyIcon = new()
264
using
NotifyIcon
notifyIcon = new()
289
using
NotifyIcon
notifyIcon = new()
307
using
NotifyIcon
notifyIcon = new();
318
using
NotifyIcon
notifyIcon = new()
338
yield return new object[] { visible, icon, new string('a',
NotifyIcon
.MaxTextSize), new string('a',
NotifyIcon
.MaxTextSize) };
347
using
NotifyIcon
notifyIcon = new()
364
using
NotifyIcon
notifyIcon = new()
390
yield return new object[] { visible, null, new string('a',
NotifyIcon
.MaxTextSize), new string('a',
NotifyIcon
.MaxTextSize), 0 };
394
yield return new object[] { false, new Icon("bitmaps/10x16_one_entry_32bit.ico"), new string('a',
NotifyIcon
.MaxTextSize), new string('a',
NotifyIcon
.MaxTextSize), 0 };
396
yield return new object[] { true, new Icon("bitmaps/10x16_one_entry_32bit.ico"), new string('a',
NotifyIcon
.MaxTextSize), new string('a',
NotifyIcon
.MaxTextSize), 1 };
410
using
NotifyIcon
notifyIcon = new()
429
using
NotifyIcon
notifyIcon = new();
430
Assert.Throws<ArgumentOutOfRangeException>("Text", () => notifyIcon.Text = new string('a',
NotifyIcon
.MaxTextSize + 1));
437
using
NotifyIcon
notifyIcon = new()
456
using
NotifyIcon
notifyIcon = new()
476
using
NotifyIcon
notifyIcon = new()
504
using
NotifyIcon
notifyIcon = new()
536
using
NotifyIcon
notifyIcon = new()
560
using
NotifyIcon
notifyIcon = new()
572
using
NotifyIcon
notifyIcon = new();
587
using
NotifyIcon
notifyIcon = new();
602
using
NotifyIcon
notifyIcon = new();
617
using
NotifyIcon
notifyIcon = new();
632
using
NotifyIcon
notifyIcon = new();
647
using
NotifyIcon
notifyIcon = new();
662
using
NotifyIcon
notifyIcon = new();
677
using
NotifyIcon
notifyIcon = new();
692
using
NotifyIcon
notifyIcon = new();
707
using
NotifyIcon
notifyIcon = new();
722
using
NotifyIcon
notifyIcon = new();
771
using
NotifyIcon
notifyIcon = new()
824
using
NotifyIcon
notifyIcon = new()
838
using
NotifyIcon
notifyIcon = new()
861
using
NotifyIcon
notifyIcon = new()
879
using
NotifyIcon
notifyIcon = new()
896
using
NotifyIcon
notifyIcon = new();
905
using
NotifyIcon
notifyIcon = new()
918
using
NotifyIcon
notifyIcon = new()
939
using
NotifyIcon
notifyIcon = new()
952
using
NotifyIcon
notifyIcon = new();
961
using
NotifyIcon
notifyIcon = new()
973
using
NotifyIcon
notifyIcon = new();