55 instantiations of NotifyIcon
System.Windows.Forms.Design.Tests (3)
System\Windows\Forms\Design\NotifyIconDesignerActionListTests.cs (1)
17
_notifyIcon =
new
();
System\Windows\Forms\Design\NotifyIconDesignerTests.cs (2)
12
using NotifyIcon icon =
new
();
23
using NotifyIcon icon =
new
();
System.Windows.Forms.Tests (52)
System\Windows\Forms\NotifyIconTests.cs (52)
17
using NotifyIcon notifyIcon =
new
();
34
using NotifyIcon notifyIcon =
new
(container);
50
Assert.Throws<ArgumentNullException>("container", () => new
NotifyIcon
(null));
57
NotifyIcon notifyIcon =
new
()
72
NotifyIcon notifyIcon =
new
();
80
using NotifyIcon notifyIcon =
new
()
95
using NotifyIcon notifyIcon =
new
()
112
using NotifyIcon notifyIcon =
new
()
127
using NotifyIcon notifyIcon =
new
()
150
using NotifyIcon notifyIcon =
new
()
166
using NotifyIcon notifyIcon =
new
()
183
using NotifyIcon notifyIcon =
new
();
204
using NotifyIcon notifyIcon =
new
()
220
using NotifyIcon notifyIcon =
new
()
237
using NotifyIcon notifyIcon =
new
()
266
using NotifyIcon notifyIcon =
new
()
291
using NotifyIcon notifyIcon =
new
()
309
using NotifyIcon notifyIcon =
new
();
320
using NotifyIcon notifyIcon =
new
()
349
using NotifyIcon notifyIcon =
new
()
366
using NotifyIcon notifyIcon =
new
()
412
using NotifyIcon notifyIcon =
new
()
431
using NotifyIcon notifyIcon =
new
();
439
using NotifyIcon notifyIcon =
new
()
458
using NotifyIcon notifyIcon =
new
()
478
using NotifyIcon notifyIcon =
new
()
506
using NotifyIcon notifyIcon =
new
()
538
using NotifyIcon notifyIcon =
new
()
562
using NotifyIcon notifyIcon =
new
()
574
using NotifyIcon notifyIcon =
new
();
589
using NotifyIcon notifyIcon =
new
();
604
using NotifyIcon notifyIcon =
new
();
619
using NotifyIcon notifyIcon =
new
();
634
using NotifyIcon notifyIcon =
new
();
649
using NotifyIcon notifyIcon =
new
();
664
using NotifyIcon notifyIcon =
new
();
679
using NotifyIcon notifyIcon =
new
();
694
using NotifyIcon notifyIcon =
new
();
709
using NotifyIcon notifyIcon =
new
();
724
using NotifyIcon notifyIcon =
new
();
773
using NotifyIcon notifyIcon =
new
()
826
using NotifyIcon notifyIcon =
new
()
840
using NotifyIcon notifyIcon =
new
()
863
using NotifyIcon notifyIcon =
new
()
881
using NotifyIcon notifyIcon =
new
()
898
using NotifyIcon notifyIcon =
new
();
907
using NotifyIcon notifyIcon =
new
()
920
using NotifyIcon notifyIcon =
new
()
941
using NotifyIcon notifyIcon =
new
()
954
using NotifyIcon notifyIcon =
new
();
963
using NotifyIcon notifyIcon =
new
()
975
using NotifyIcon notifyIcon =
new
();
73 references to NotifyIcon
DesignSurface (1)
MainForm.cs (1)
269
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 (5)
EnsureEditorsTests.cs (2)
125
[InlineData(typeof(
NotifyIcon
), "BalloonTipText", typeof(MultilineStringEditor))]
126
[InlineData(typeof(
NotifyIcon
), "Text", typeof(MultilineStringEditor))]
System\Windows\Forms\Design\NotifyIconDesignerActionListTests.cs (1)
11
private readonly
NotifyIcon
_notifyIcon;
System\Windows\Forms\Design\NotifyIconDesignerTests.cs (2)
12
using
NotifyIcon
icon = new();
23
using
NotifyIcon
icon = new();
System.Windows.Forms.Tests (60)
System\Windows\Forms\NotifyIconTests.cs (60)
17
using
NotifyIcon
notifyIcon = new();
34
using
NotifyIcon
notifyIcon = new(container);
57
NotifyIcon
notifyIcon = new()
72
NotifyIcon
notifyIcon = new();
80
using
NotifyIcon
notifyIcon = new()
95
using
NotifyIcon
notifyIcon = new()
112
using
NotifyIcon
notifyIcon = new()
127
using
NotifyIcon
notifyIcon = new()
150
using
NotifyIcon
notifyIcon = new()
166
using
NotifyIcon
notifyIcon = new()
183
using
NotifyIcon
notifyIcon = new();
204
using
NotifyIcon
notifyIcon = new()
220
using
NotifyIcon
notifyIcon = new()
237
using
NotifyIcon
notifyIcon = new()
266
using
NotifyIcon
notifyIcon = new()
291
using
NotifyIcon
notifyIcon = new()
309
using
NotifyIcon
notifyIcon = new();
320
using
NotifyIcon
notifyIcon = new()
340
yield return new object[] { visible, icon, new string('a',
NotifyIcon
.MaxTextSize), new string('a',
NotifyIcon
.MaxTextSize) };
349
using
NotifyIcon
notifyIcon = new()
366
using
NotifyIcon
notifyIcon = new()
392
yield return new object[] { visible, null, new string('a',
NotifyIcon
.MaxTextSize), new string('a',
NotifyIcon
.MaxTextSize), 0 };
396
yield return new object[] { false, new Icon("bitmaps/10x16_one_entry_32bit.ico"), new string('a',
NotifyIcon
.MaxTextSize), new string('a',
NotifyIcon
.MaxTextSize), 0 };
398
yield return new object[] { true, new Icon("bitmaps/10x16_one_entry_32bit.ico"), new string('a',
NotifyIcon
.MaxTextSize), new string('a',
NotifyIcon
.MaxTextSize), 1 };
412
using
NotifyIcon
notifyIcon = new()
431
using
NotifyIcon
notifyIcon = new();
432
Assert.Throws<ArgumentOutOfRangeException>("Text", () => notifyIcon.Text = new string('a',
NotifyIcon
.MaxTextSize + 1));
439
using
NotifyIcon
notifyIcon = new()
458
using
NotifyIcon
notifyIcon = new()
478
using
NotifyIcon
notifyIcon = new()
506
using
NotifyIcon
notifyIcon = new()
538
using
NotifyIcon
notifyIcon = new()
562
using
NotifyIcon
notifyIcon = new()
574
using
NotifyIcon
notifyIcon = new();
589
using
NotifyIcon
notifyIcon = new();
604
using
NotifyIcon
notifyIcon = new();
619
using
NotifyIcon
notifyIcon = new();
634
using
NotifyIcon
notifyIcon = new();
649
using
NotifyIcon
notifyIcon = new();
664
using
NotifyIcon
notifyIcon = new();
679
using
NotifyIcon
notifyIcon = new();
694
using
NotifyIcon
notifyIcon = new();
709
using
NotifyIcon
notifyIcon = new();
724
using
NotifyIcon
notifyIcon = new();
773
using
NotifyIcon
notifyIcon = new()
826
using
NotifyIcon
notifyIcon = new()
840
using
NotifyIcon
notifyIcon = new()
863
using
NotifyIcon
notifyIcon = new()
881
using
NotifyIcon
notifyIcon = new()
898
using
NotifyIcon
notifyIcon = new();
907
using
NotifyIcon
notifyIcon = new()
920
using
NotifyIcon
notifyIcon = new()
941
using
NotifyIcon
notifyIcon = new()
954
using
NotifyIcon
notifyIcon = new();
963
using
NotifyIcon
notifyIcon = new()
975
using
NotifyIcon
notifyIcon = new();