[Mono-bugs] [Bug 80382][Wis] New - Up arrow adds row to DataGrid
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Wed Dec 27 16:53:09 EST 2006
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by kobruleht2 at hot.ee.
http://bugzilla.ximian.com/show_bug.cgi?id=80382
--- shadow/80382 2006-12-27 16:53:09.000000000 -0500
+++ shadow/80382.tmp.11147 2006-12-27 16:53:09.000000000 -0500
@@ -0,0 +1,52 @@
+Bug#: 80382
+Product: Mono: Class Libraries
+Version: 1.0
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com
+ReportedBy: kobruleht2 at hot.ee
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Up arrow adds row to DataGrid
+
+To reproduce:
+
+1. Run code
+2. Press down arrow
+3. Press up arrow
+
+Observed:
+
+Grid contains 3 lines
+
+Code:
+
+using System.Windows.Forms;
+using System.Data;
+static class Program {
+ static void Main() {
+ Application.Run(new Frm());
+ }
+ }
+
+class Frm: Form {
+ public Frm() {
+ DataTable table = new DataTable();
+ DataColumn column1 = new DataColumn();
+ DataColumn column2 = new DataColumn();
+ DataGrid grid = new DataGrid();
+ table.Rows.Add();
+ grid.Dock = DockStyle.Fill;
+ table.Columns.Add(column1);
+ table.Columns.Add(column2);
+ Controls.Add(grid);
+ grid.SetDataBinding(table, "");
+ }
+ }
More information about the mono-bugs
mailing list