(DISTFILES): Comment out a few missing files.
[mono-project.git] / mcs / class / System.Windows.Forms / Gtk / PaintEventArgs.cs
blob5e760e52ca55ed8e310f5691c2f9caeb49aadb64
1 //
2 // System.Windows.Forms.PaintEventArgs.cs
3 //
4 // Author:
5 // stubbed out by Paul Osman (paul.osman@sympatico.ca)
6 // Dennis Hayes (dennish@raytek.com)
7 // Gianandrea Terzi (gianandrea.terzi@lario.com)
8 //
9 // (C) 2002 Ximian, Inc
11 using System.Drawing;
13 namespace System.Windows.Forms {
15 // <summary>
17 // </summary>
19 public class PaintEventArgs : EventArgs, IDisposable {
21 #region Fields
23 private Graphics mgraphics;
24 private Rectangle mclipRect;
26 #endregion
28 public PaintEventArgs(Graphics graphics, Rectangle clipRect )
30 this.mgraphics = graphics;
31 this.mclipRect = clipRect;
34 #region Public Properties
35 public Rectangle ClipRectangle
37 get {
38 return mclipRect;
42 public Graphics Graphics {
43 get {
44 return mgraphics;
47 #endregion
49 #region Public Methods
51 public void Dispose()
54 mgraphics.Dispose();
57 #endregion
59 #region Protected Methods
61 protected virtual void Dispose(bool disposing)
65 #endregion