2002-7-1 DennisHayes <dennish@raytek.com>
[mono.git] / mcs / class / System.Windows.Forms / System.Windows.Forms / SelectedGridItemChangedEventArgs.cs
1 //
2 // System.Windows.Forms.SelectedGridItemChangedEventArgs.cs
3 //
4 // Author:
5 //   stubbed out by Daniel Carrera (dcarrera@math.toronto.edu)
6 //      Partially completed by Dennis Hayes (dennish@raytek.com)\r
7 //
8 // (C) 2002 Ximian, Inc
9 //
10
11 namespace System.Windows.Forms {
12
13         // <summary>
14         // </summary>
15
16         public class SelectedGridItemChangedEventArgs : EventArgs {
17                         GridItem old;
18                         GridItem newGridItem;
19
20                 //
21                 //  --- Constructor
22                 //
23                 public SelectedGridItemChangedEventArgs(GridItem old, GridItem newGridItem)
24                 {
25                         this.newGridItem = newGridItem;
26                         this.old = old;
27                 }
28
29                 //
30                 //  --- Public Properties
31                 //
32                 public GridItem NewSelection {
33                         get {
34                                 return newGridItem;
35                         }
36                 }
37                 public GridItem OldSelection {
38                         get {
39                                 return old;
40                         }
41                 }
42
43                 //
44                 //  --- Public Methods
45                 //
46                 //[MonoTODO]
47                 //public virtual bool Equals(object o);
48                 //{
49                 //      throw new NotImplementedException ();
50                 //}
51                 //[MonoTODO]
52                 //public static bool Equals(object o1, object o2);
53                 //{
54                 //      throw new NotImplementedException ();
55                 //}
56          }
57 }