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 [EMAIL PROTECTED]

http://bugzilla.ximian.com/show_bug.cgi?id=80461

--- shadow/80461        2007-01-05 18:43:38.000000000 -0500
+++ shadow/80461.tmp.28929      2007-01-05 18:43:38.000000000 -0500
@@ -0,0 +1,55 @@
+Bug#: 80461
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: Windows.Forms
+AssignedTo: [EMAIL PROTECTED]                            
+ReportedBy: [EMAIL PROTECTED]               
+QAContact: [EMAIL PROTECTED]
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: shift selects always from beginning of DataGrid
+
+Observed: first and second row are selected
+
+Expected: second and third row must be selected
+
+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();
+               table.Columns.Add(new DataColumn());
+               DataGrid grid = new DataGrid();
+               table.Rows.Add("1");
+               table.Rows.Add("2");
+               table.Rows.Add("3");
+               table.Rows.Add("4");
+               table.Rows.Add("5");
+               grid.Dock = DockStyle.Fill;
+               grid.DataSource = table;
+               Controls.Add(grid);
+       }
+       protected override void OnActivated(System.EventArgs e) {
+               base.OnActivated(e);
+               SendKeys.SendWait("{DOWN}{DOWN}+{UP}");
+       }
+}
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to