2009-01-01 Ivan N. Zlatev <contact@i-nz.net>
authorIvan Zlatev <ivan@ivanz.com>
Thu, 1 Jan 2009 19:05:39 +0000 (19:05 -0000)
committerIvan Zlatev <ivan@ivanz.com>
Thu, 1 Jan 2009 19:05:39 +0000 (19:05 -0000)
* DataGridView.cs: Return false in CommitEdit if there was an error.

svn path=/trunk/mcs/; revision=122318

mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
mcs/class/Managed.Windows.Forms/System.Windows.Forms/DataGridView.cs

index d69d94abc505687435dd9f33bd691e7e53428a83..25452d282e3e601957228e9b290c6446fcd3a7d2 100644 (file)
@@ -1,3 +1,7 @@
+2009-01-01  Ivan N. Zlatev  <contact@i-nz.net>
+
+       * DataGridView.cs: Return false in CommitEdit if there was an error.
+
 2009-01-01  Ivan N. Zlatev  <contact@i-nz.net>
 
        * DataGridView.cs: Remove a leftover Console.WriteLine.
index 01120b0219baa303a19e0ce96e6fa086354f609a..3f43462c342fc358c0f5ab8a03092102705be260 100644 (file)
@@ -2364,6 +2364,7 @@ namespace System.Windows.Forms {
                                OnDataError (false, args);
                                if (args.ThrowException)
                                        throw e;
+                               return false;
                        }
                        return true;
                }