2004-04-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
[mono.git] / mcs / class / System.Windows.Forms / System.Windows.Forms / InvalidateEventArgs.cs
1 //
2 // System.Windows.Forms.InvalidateEventArgs.cs
3 //
4 // Author:
5 //   stubbed out by Daniel Carrera (dcarrera@math.toronto.edu)
6 //       Partially completed by Dennis Hayes (dennish@raytek.com)
7 //   Gianandrea Terzi (gianandrea.terzi@lario.com)
8 //
9 // (C) 2002 Ximian, Inc
10 //
11 using System.Drawing;
12 namespace System.Windows.Forms {
13
14         // <summary>
15         //
16         // </summary>
17
18         public class InvalidateEventArgs : EventArgs {
19
20                 #region Fields
21                 private Rectangle InvalidRectangle;
22                 #endregion
23
24                 //
25                 //  --- Constructor
26                 //
27                 public InvalidateEventArgs(Rectangle invalidRect) 
28                 {
29                         InvalidRectangle = invalidRect;
30                 }
31
32                 #region Public Properties
33                 public Rectangle InvalidRect 
34                 {
35                         get {
36                                 return InvalidRectangle;
37                         }
38                 }
39                 #endregion
40         }
41 }