mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 12:31:30 -10:00
* UITypeEditor.cs: Added
* PaintValueEventArgs.cs: Fixed typo in namespace
svn path=/trunk/mcs/; revision=12955
57 lines
918 B
C#
57 lines
918 B
C#
// System.Drawing.Design.PaintvalueEventArgs.cs
|
|
//
|
|
// Author:
|
|
// Alejandro Sánchez Acosta <[email protected]>
|
|
//
|
|
// (C) Alejandro Sánchez Acosta
|
|
//
|
|
|
|
using System.ComponentModel;
|
|
|
|
namespace System.Drawing.Design
|
|
{
|
|
public class PaintValueEventArgs : EventArgs
|
|
{
|
|
private ITypeDescriptorContext context;
|
|
private object value;
|
|
private Graphics graphics;
|
|
private Rectangle bounds;
|
|
|
|
public PaintValueEventArgs(ITypeDescriptorContext context, object value, Graphics graphics, Rectangle bounds) {
|
|
this.context = context;
|
|
this.value = value;
|
|
this.graphics = graphics;
|
|
this.bounds = bounds;
|
|
}
|
|
|
|
public Rectangle Bounds
|
|
{
|
|
get {
|
|
return bounds;
|
|
}
|
|
}
|
|
|
|
public ITypeDescriptorContext Context
|
|
{
|
|
get {
|
|
return context;
|
|
}
|
|
}
|
|
|
|
public Graphics Graphics
|
|
{
|
|
get {
|
|
return graphics;
|
|
}
|
|
}
|
|
|
|
public object Value
|
|
{
|
|
get {
|
|
return value;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|