6 references to OnPaint
System.Windows.Forms.Tests (6)
System\Windows\Forms\UpDownBaseTests.cs (6)
2266control.OnPaint(eventArgs); 2272control.OnPaint(eventArgs); 2310control.OnPaint(eventArgs); 2319control.OnPaint(eventArgs); 2336Assert.Throws<NullReferenceException>(() => control.OnPaint(null)); 2348Assert.Throws<ArgumentNullException>(() => control.OnPaint(null));