Merge pull request #268 from pcc/menudeactivate
[mono.git] / mcs / class / Managed.Windows.Forms / System.Windows.Forms / DataGridViewCellValidatingEventArgs.cs
index a182080a3fb69d8d5a512806e5f93c6fe4311fef..f0ca88833b38bf50a217e4c6d253ce58bc5c6c8d 100644 (file)
@@ -24,8 +24,6 @@
 //
 
 
-#if NET_2_0
-
 using System.ComponentModel;
 
 namespace System.Windows.Forms {
@@ -36,9 +34,11 @@ namespace System.Windows.Forms {
                private object formattedValue;
                private int rowIndex;
 
-               public DataGridViewCellValidatingEventArgs (int columnIndex, int rowIndex, object formattedValue) {
+               internal DataGridViewCellValidatingEventArgs (int columnIndex, int rowIndex, object formattedValue)
+               {
                        this.columnIndex = columnIndex;
                        this.rowIndex = rowIndex;
+                       this.formattedValue = formattedValue;
                }
 
                public int ColumnIndex {
@@ -56,5 +56,3 @@ namespace System.Windows.Forms {
        }
 
 }
-
-#endif