[Mono-bugs] [Bug 500386] Cursor.Hide doesn't hides a cursor

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat May 2 09:51:17 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=500386

User vanuan at gmail.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=500386#c1





--- Comment #1 from Vanya Yani <vanuan at gmail.com>  2009-05-02 07:51:17 MDT ---
(From update of attachment 289553)
>using System.Windows.Forms;
>
>public class CursorHide: Form {
>	static public void Main() {
>		Application.Run (new CursorHide());
>	}
>	public CursorHide() {
>		Text = "Hello Application";
>	        this.MouseEnter += new System.EventHandler(this.myMouseEnter);
>	        this.MouseLeave += new System.EventHandler(this.myMouseLeave);
>	}
>	private void myMouseEnter(object sender, System.EventArgs e) {
>		Cursor.Hide();
Must be hidden here
>	}
>	private void myMouseLeave(object sender, System.EventArgs e) {
>		Cursor.Show();
>	}
>}

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list