diff options
author | Carlos Alberto Cortez <calberto.cortez@gmail.com> | 2009-08-10 18:33:00 +0400 |
---|---|---|
committer | Carlos Alberto Cortez <calberto.cortez@gmail.com> | 2009-08-10 18:33:00 +0400 |
commit | 6dc05aadf5ec1ddde68d6d3cc62f3c409ed2845d (patch) | |
tree | 808be82229cfbfd73db2d3d9cad9758cda77491e /mcs/class | |
parent | 5b3009e9d5e4d11830a65323f53e8335ba5b66e0 (diff) |
* DataGridTest.cs: Don't use DataGrid.Rows.Add() for our latest test,
since it is 2.0. Use DataGrid.NewRow() instead.
2009-08-10 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=139642
Diffstat (limited to 'mcs/class')
-rw-r--r-- | mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ChangeLog | 5 | ||||
-rw-r--r-- | mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/DataGridTest.cs | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ChangeLog b/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ChangeLog index 20b8a20c3ca..00865031f1b 100644 --- a/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ChangeLog +++ b/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ChangeLog @@ -1,5 +1,10 @@ 2009-08-10 Carlos Alberto Cortez <calberto.cortez@gmail.com> + * DataGridTest.cs: Don't use DataGrid.Rows.Add() for our latest test, + since it is 2.0. Use DataGrid.NewRow() instead. + +2009-08-10 Carlos Alberto Cortez <calberto.cortez@gmail.com> + * DataGridTest.cs: New test for the interaction between DataSource and TableStyles. diff --git a/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/DataGridTest.cs b/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/DataGridTest.cs index 847725794e4..f49ecd88cdc 100644 --- a/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/DataGridTest.cs +++ b/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/DataGridTest.cs @@ -604,7 +604,7 @@ namespace MonoTests.System.Windows.Forms DataSet ds = new DataSet ("DataSet"); DataTable dt = new DataTable ("MyTable"); dt.Columns.Add ("A", typeof (string)); - dt.Rows.Add ("a"); + dt.NewRow (); ds.Tables.Add (dt); // Add the style for the table we have, but leave it empty |