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=80462 --- shadow/80462 2007-01-05 18:44:28.000000000 -0500 +++ shadow/80462.tmp.28946 2007-01-05 18:44:28.000000000 -0500 @@ -0,0 +1,57 @@ +Bug#: 80462 +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: DataGrid row delete crashes application + +Observed: Application exists, mono process remains running in Task Manager + +Expected: rows 1 and 2 must be deleted + + +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}{DEL}"); + } +} _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
