5 references to PaintValue
System.Windows.Forms.Design (3)
System\ComponentModel\Design\CollectionEditor.CollectionEditorCollectionForm.cs (1)
601
item.Editor.
PaintValue
(item.Value, g, baseVar);
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.cs (1)
296
_editor.
PaintValue
(Value, swatchGraphics, rect);
System\Drawing\Design\ColorEditor.ColorUI.cs (1)
275
_editor.
PaintValue
(value, graphics, new Rectangle(die.Bounds.X + 2, die.Bounds.Y + 2, 22, die.Bounds.Height - 4));
System.Windows.Forms.Tests (2)
System\Drawing\Design\UITypeEditorTests.cs (2)
135
mockEditor.Object.
PaintValue
(value, canvas, rectangle);
145
Assert.Throws<ArgumentNullException>("graphics", () => editor.
PaintValue
(new object(), null, Rectangle.Empty));