[Mono-bugs] [Bug 81730][Nor] New - DoDragDrop should block until the item is dropped
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Thu May 24 15:30:31 EDT 2007
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 rolfkvinge at ya.com.
http://bugzilla.ximian.com/show_bug.cgi?id=81730
--- shadow/81730 2007-05-24 15:30:31.000000000 -0400
+++ shadow/81730.tmp.7547 2007-05-24 15:30:31.000000000 -0400
@@ -0,0 +1,46 @@
+Bug#: 81730
+Product: Mono: Class Libraries
+Version: 1.0
+OS: other
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: jackson at ximian.com
+ReportedBy: rolfkvinge at ya.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: DoDragDrop should block until the item is dropped
+
+Repro:
+
+using System;
+using System.Windows.Forms;
+
+namespace SharpChess
+{
+ public class frmMain : System.Windows.Forms.Form
+ {
+ [STAThread]
+ static void Main()
+ {
+ Application.Run(new frmMain());
+ }
+
+ protected override void OnMouseDown (MouseEventArgs e)
+ {
+ base.OnMouseDown (e);
+ Console.WriteLine ("Doing dnd");
+ DoDragDrop("me!", DragDropEffects.Move);
+ Console.WriteLine ("Finished");
+ }
+ }
+}
+
+
+Click the form and you should get "Doing dnd", but "Finished" should only
+show up once the button is released.
More information about the mono-bugs
mailing list