mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 03:51:19 -10:00
* New start to DataGrid. Imported files from swf-winelib * CurrencyManager.cs * BindingManagerBase.cs * BindingsCollection.cs * BaseCollection.cs * Binding.cs * ItemChangedEventArgs.cs * ItemChangedEventHandler.cs * ConvertEventArgs.cs * ConvertEventHandler.cs * BindingMemberInfo.cs * BorderStyle.cs * KeyEventArgs.cs * KeyEventHandler.cs * KeyPressEventArgs.cs * KeyPressEventHandler.cs * Keys.cs * AccessibleObject.cs * AccessibleEvents.cs * AccessibleNavigation.cs * AccessibleRole.cs * AccessibleSelection.cs * AccessibleStates.cs * NavigateEventArgs.cs * NavigateEventHandler.cs * PaintEventArgs.cs * PaintEventHandler.cs * GridTableStylesCollection.cs * GridColumnStylesCollection.cs * DataGrid.cs * IDataGridColumnStyleEditingNotificationService.cs * IDataGridEditingService.cs * DataGridColumnStyle.cs * DataGridBoolColumn.cs * DataGridCell.cs * DataGridLineStyle.cs * DataGridParentRowsLabelStyle.cs * DataGridPreferredColumnWidthTypeConverter.cs * DataGridTableStyle.cs * DataGridTextBoxColumn.cs * DataGridTextBox.cs svn path=/trunk/mcs/; revision=20189
68 lines
1018 B
C#
68 lines
1018 B
C#
//
|
|
// System.Windows.Forms.PaintEventArgs.cs
|
|
//
|
|
// Author:
|
|
// stubbed out by Paul Osman ([email protected])
|
|
// Dennis Hayes ([email protected])
|
|
// Gianandrea Terzi ([email protected])
|
|
//
|
|
// (C) 2002 Ximian, Inc
|
|
//
|
|
using System.Drawing;
|
|
|
|
namespace System.Windows.Forms {
|
|
|
|
// <summary>
|
|
//
|
|
// </summary>
|
|
|
|
public class PaintEventArgs : EventArgs, IDisposable {
|
|
|
|
#region Fields
|
|
|
|
private Graphics mgraphics;
|
|
private Rectangle mclipRect;
|
|
|
|
#endregion
|
|
|
|
public PaintEventArgs(Graphics graphics, Rectangle clipRect )
|
|
{
|
|
this.mgraphics = graphics;
|
|
this.mclipRect = clipRect;
|
|
}
|
|
|
|
#region Public Properties
|
|
public Rectangle ClipRectangle
|
|
{
|
|
get {
|
|
return mclipRect;
|
|
}
|
|
}
|
|
|
|
public Graphics Graphics {
|
|
get {
|
|
return mgraphics;
|
|
}
|
|
}
|
|
#endregion
|
|
|
|
#region Public Methods
|
|
|
|
public void Dispose()
|
|
{
|
|
//
|
|
mgraphics.Dispose();
|
|
}
|
|
|
|
#endregion
|
|
|
|
#region Protected Methods
|
|
|
|
protected virtual void Dispose(bool disposing)
|
|
{
|
|
//
|
|
}
|
|
#endregion
|
|
}
|
|
}
|