Example #1
0
 public Cursor(Cursors.CursorTypes t)
 {
     type = (int)t;
 }
		protected override void SetCursorOnEnter(Cursors cursorToSet)
		{
			switch (cursorToSet)
			{
				case Cursors.Arrow:
					WindowsFormsWindow.Cursor = System.Windows.Forms.Cursors.Arrow;
					break;

				case Cursors.Hand:
					WindowsFormsWindow.Cursor = System.Windows.Forms.Cursors.Hand;
					break;

				case Cursors.IBeam:
					WindowsFormsWindow.Cursor = System.Windows.Forms.Cursors.IBeam;
					break;
			}
		}
Example #3
0
 public CursorEventArgs(Cursors.Cursor newCursor)
 {
     cursor = newCursor;
 }