projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2002-7-1 DennisHayes <dennish@raytek.com>
[mono.git]
/
mcs
/
class
/
System.Windows.Forms
/
System.Windows.Forms
/
SelectedGridItemChangedEventArgs.cs
diff --git
a/mcs/class/System.Windows.Forms/System.Windows.Forms/SelectedGridItemChangedEventArgs.cs
b/mcs/class/System.Windows.Forms/System.Windows.Forms/SelectedGridItemChangedEventArgs.cs
index 1e4ca6aeaf4dc59944ed500dab3ae506be437090..9133afc61e78fdb531425f303e9bd331b64dde4c 100644
(file)
--- a/
mcs/class/System.Windows.Forms/System.Windows.Forms/SelectedGridItemChangedEventArgs.cs
+++ b/
mcs/class/System.Windows.Forms/System.Windows.Forms/SelectedGridItemChangedEventArgs.cs
@@
-3,6
+3,7
@@
//
// Author:
// stubbed out by Daniel Carrera (dcarrera@math.toronto.edu)
//
// Author:
// stubbed out by Daniel Carrera (dcarrera@math.toronto.edu)
+// Partially completed by Dennis Hayes (dennish@raytek.com)
\r
//
// (C) 2002 Ximian, Inc
//
//
// (C) 2002 Ximian, Inc
//
@@
-10,36
+11,34
@@
namespace System.Windows.Forms {
// <summary>
namespace System.Windows.Forms {
// <summary>
- // This is only a template. Nothing is implemented yet.
- //
// </summary>
// </summary>
- //public class SelectedGridItemChangedEventArgs : EventArgs {
+ public class SelectedGridItemChangedEventArgs : EventArgs {
+ GridItem old;
+ GridItem newGridItem;
//
// --- Constructor
//
//
// --- Constructor
//
- //[MonoTODO]
- //public SelectedGridItemChangedEventArgs(GridItem old, GridItem new)
- //{
-
// throw new NotImplementedException ()
;
-
//
}
+ public SelectedGridItemChangedEventArgs(GridItem old, GridItem newGridItem)
+ {
+ this.newGridItem = newGridItem;
+
this.old = old
;
+ }
//
// --- Public Properties
//
//
// --- Public Properties
//
- //[MonoTODO]
- //public GridItem NewSelection {
- // get {
- // throw new NotImplementedException ();
- // }
- //}
- //[MonoTODO]
- //public GridItem OldSelection {
- // get {
- // throw new NotImplementedException ();
- // }
- //}
+ public GridItem NewSelection {
+ get {
+ return newGridItem;
+ }
+ }
+ public GridItem OldSelection {
+ get {
+ return old;
+ }
+ }
//
// --- Public Methods
//
// --- Public Methods
@@
-54,5
+53,5
@@
namespace System.Windows.Forms {
//{
// throw new NotImplementedException ();
//}
//{
// throw new NotImplementedException ();
//}
-
//
}
+ }
}
}