11 references to CreateElement
System.Windows.Forms.Tests (11)
System\Windows\Forms\VisualStyles\VisualStyleElementTests.cs (2)
19
VisualStyleElement element = VisualStyleElement.
CreateElement
(className, part, state);
28
Assert.Throws<ArgumentNullException>("className", () => VisualStyleElement.
CreateElement
(null, 1, 2));
System\Windows\Forms\VisualStyles\VisualStyleRendererTests.cs (9)
20
yield return new object[] { VisualStyleElement.
CreateElement
("BUTTON", 0, int.MinValue) };
21
yield return new object[] { VisualStyleElement.
CreateElement
("BUTTON", 0, int.MaxValue) };
44
yield return new object[] { VisualStyleElement.
CreateElement
("", 0, 0) };
45
yield return new object[] { VisualStyleElement.
CreateElement
("NoSuchClassName", 0, 0) };
46
yield return new object[] { VisualStyleElement.
CreateElement
("BUTTON", -1, 0) };
47
yield return new object[] { VisualStyleElement.
CreateElement
("BUTTON", int.MinValue, 0) };
48
yield return new object[] { VisualStyleElement.
CreateElement
("BUTTON", int.MaxValue, 0) };
100
yield return new object[] { VisualStyleElement.
CreateElement
(string.Empty, 0, 0), false };
101
yield return new object[] { VisualStyleElement.
CreateElement
("NoSuchName", 0, 0), false };