40 instantiations of Cursor
System.Windows.Forms (30)
winforms\Managed\System\WinForms\CursorConverter.cs (1)
76return new Cursor(ms);
winforms\Managed\System\WinForms\Cursors.cs (29)
59return new Cursor(handle); 102appStarting = new Cursor(NativeMethods.IDC_APPSTARTING,0); 114arrow = new Cursor(NativeMethods.IDC_ARROW,0); 126cross = new Cursor(NativeMethods.IDC_CROSS,0); 138defaultCursor = new Cursor(NativeMethods.IDC_ARROW,0); 150iBeam = new Cursor(NativeMethods.IDC_IBEAM,0); 162no = new Cursor(NativeMethods.IDC_NO,0); 174sizeAll = new Cursor(NativeMethods.IDC_SIZEALL,0); 186sizeNESW = new Cursor(NativeMethods.IDC_SIZENESW,0); 198sizeNS = new Cursor(NativeMethods.IDC_SIZENS,0); 210sizeNWSE = new Cursor(NativeMethods.IDC_SIZENWSE,0); 222sizeWE = new Cursor(NativeMethods.IDC_SIZEWE,0); 234upArrow = new Cursor(NativeMethods.IDC_UPARROW,0); 246wait = new Cursor(NativeMethods.IDC_WAIT,0); 258help = new Cursor(NativeMethods.IDC_HELP,0); 270hSplit = new Cursor("hsplit.cur", 0); 282vSplit = new Cursor("vsplit.cur", 0); 294noMove2D = new Cursor("nomove2d.cur", 0); 306noMoveHoriz = new Cursor("nomoveh.cur", 0); 318noMoveVert = new Cursor("nomovev.cur", 0); 330panEast = new Cursor("east.cur", 0); 342panNE = new Cursor("ne.cur", 0); 354panNorth = new Cursor("north.cur", 0); 366panNW = new Cursor("nw.cur", 0); 378panSE = new Cursor("se.cur", 0); 390panSouth = new Cursor("south.cur", 0); 402panSW = new Cursor("sw.cur", 0); 414panWest = new Cursor("west.cur", 0); 426hand = new Cursor("hand.cur", 0);
System.Workflow.ComponentModel (10)
AuthoringOM\Design\MessageFilters\ConnectionManager.cs (2)
20internal static Cursor SnappedConnectionCursor = new Cursor(typeof(WorkflowView), "Resources.Connector.cur"); 21internal static Cursor NewConnectorCursor = new Cursor(typeof(WorkflowView), "Resources.ConnectorDraw.cur");
AuthoringOM\Design\MessageFilters\FreeFormDragDropManager.cs (3)
18private static Cursor DragMoveCursor = new Cursor(typeof(WorkflowView), "Resources.DragMoveCursor.cur"); 19private static Cursor DragCopyCursor = new Cursor(typeof(WorkflowView), "Resources.DragCopyCursor.cur"); 20private static Cursor MoveCursor = new Cursor(typeof(WorkflowView), "Resources.MoveCursor.cur");
AuthoringOM\Design\MessageFilters\PanningMessageFilter.cs (2)
13private static Cursor PanBeganCursor = new Cursor(typeof(WorkflowView), "Resources.panClosed.cur"); 14private static Cursor PanReadyCursor = new Cursor(typeof(WorkflowView), "Resources.panOpened.cur");
AuthoringOM\Design\MessageFilters\ZoomingMessageFilter.cs (3)
15private static Cursor ZoomInCursor = new Cursor(typeof(WorkflowView), "Resources.zoomin.cur"); 16private static Cursor ZoomOutCursor = new Cursor(typeof(WorkflowView), "Resources.zoomout.cur"); 17private static Cursor ZoomDisabledCursor = new Cursor(typeof(WorkflowView), "Resources.zoomno.cur");
217 references to Cursor
System.Web.Entity.Design (8)
System\Data\WebControls\Design\EntityDataSourceConfigureObjectContext.cs (2)
49Cursor.Current = Cursors.WaitCursor; 63Cursor.Current = Cursors.Default;
System\Data\WebControls\Design\EntityDataSourceConfigureObjectContextPanel.cs (2)
248Cursor.Current = Cursors.WaitCursor; 299Cursor.Current = Cursors.Default;
System\Data\WebControls\Design\EntityDataSourceDesignerHelper.cs (4)
1023Cursor originalCursor = Cursor.Current; 1040Cursor.Current = Cursors.WaitCursor; 1069Cursor.Current = originalCursor;
System.Web.Mobile (2)
UI\MobileControls\Design\AppliedDeviceFiltersDialog.cs (1)
685Cursor oldCursor = null;
UI\MobileControls\Design\DeviceFilterEditorDialog.cs (1)
459Cursor oldCursor = null;
System.Windows.Forms (167)
winforms\Managed\System\WinForms\AmbientProperties.cs (2)
33private Cursor cursor; 57public Cursor Cursor {
winforms\Managed\System\WinForms\AxHost.cs (2)
447public override Cursor Cursor { 4779protected static object GetIPictureFromCursor(Cursor cursor) {
winforms\Managed\System\WinForms\ComboBox.cs (1)
1948Cursor.CurrentInternal = Cursor;
winforms\Managed\System\WinForms\Control.cs (10)
2038public virtual Cursor Cursor { 2045Cursor cursor = (Cursor)Properties.GetObject(PropCursor); 2053Cursor localDefault = DefaultCursor; 2071Cursor localCursor = (Cursor)Properties.GetObject(PropCursor); 2072Cursor resolvedCursor = Cursor; 2155protected virtual Cursor DefaultCursor { 3840Cursor oldCursor = null; 13819Cursor.CurrentInternal = Cursor;
winforms\Managed\System\WinForms\Cursor.cs (26)
89Stream stream = typeof(Cursor).Module.Assembly.GetManifestResourceStream(typeof(Cursor), resource); 99/// Initializes a new instance of the <see cref='System.Windows.Forms.Cursor'/> class with the specified handle. 105throw new ArgumentException(SR.GetString(SR.InvalidGDIHandle, (typeof(Cursor)).Name)); 115/// Initializes a new instance of the <see cref='System.Windows.Forms.Cursor'/> 137/// Initializes a new instance of the <see cref='System.Windows.Forms.Cursor'/> class from the specified resource. 146/// Initializes a new instance of the <see cref='System.Windows.Forms.Cursor'/> class from the 161/// sets a <see cref='System.Drawing.Rectangle'/> that represents the current clipping rectangle for this <see cref='System.Windows.Forms.Cursor'/> in 203/// sets a <see cref='System.Windows.Forms.Cursor'/> that 207public static Cursor Current { 219internal static Cursor CurrentInternal { 239/// the Win32 handle for this <see cref='System.Windows.Forms.Cursor'/> . 325/// the size of this <see cref='System.Windows.Forms.Cursor'/> object. 361/// Duplicates this the Win32 handle of this <see cref='System.Windows.Forms.Cursor'/>. 369/// Destroys the Win32 handle of this <see cref='System.Windows.Forms.Cursor'/>, if the 370/// <see cref='System.Windows.Forms.Cursor'/> 515/// Draws this <see cref='System.Windows.Forms.Cursor'/> to a <see cref='System.Drawing.Graphics'/>. 524/// Draws this <see cref='System.Windows.Forms.Cursor'/> to a <see cref='System.Drawing.Graphics'/>. 702/// <see cref='System.Windows.Forms.Cursor'/> 710s = TypeDescriptor.GetConverter(typeof(Cursor)).ConvertToString(this); 718public static bool operator ==(Cursor left, Cursor right) { 732public static bool operator !=(Cursor left, Cursor right) { 744if (!(obj is Cursor)) { 747return (this == (Cursor)obj);
winforms\Managed\System\WinForms\CursorConverter.cs (6)
102Cursor c = (Cursor)prop.GetValue(null, tempIndex); 103if (c == (Cursor)value) { 125if (destinationType == typeof(InstanceDescriptor) && value is Cursor) { 137Cursor cursor = (Cursor)value;
winforms\Managed\System\WinForms\Cursors.cs (57)
22private static Cursor appStarting = null; 23private static Cursor arrow = null; 24private static Cursor cross = null; 25private static Cursor defaultCursor = null; 26private static Cursor iBeam = null; 27private static Cursor no = null; 28private static Cursor sizeAll = null; 29private static Cursor sizeNESW = null; 30private static Cursor sizeNS = null; 31private static Cursor sizeNWSE = null; 32private static Cursor sizeWE = null; 33private static Cursor upArrow = null; 34private static Cursor wait = null; 35private static Cursor help = null; 36private static Cursor hSplit = null; 37private static Cursor vSplit = null; 38private static Cursor noMove2D = null; 39private static Cursor noMoveHoriz = null; 40private static Cursor noMoveVert = null; 41private static Cursor panEast = null; 42private static Cursor panNE = null; 43private static Cursor panNorth = null; 44private static Cursor panNW = null; 45private static Cursor panSE = null; 46private static Cursor panSouth = null; 47private static Cursor panSW = null; 48private static Cursor panWest = null; 49private static Cursor hand = null; 54internal static Cursor KnownCursorFromHCursor( IntPtr handle ) { 99public static Cursor AppStarting { 111public static Cursor Arrow { 123public static Cursor Cross { 135public static Cursor Default { 147public static Cursor IBeam { 159public static Cursor No { 171public static Cursor SizeAll { 183public static Cursor SizeNESW { 195public static Cursor SizeNS { 207public static Cursor SizeNWSE { 219public static Cursor SizeWE { 231public static Cursor UpArrow { 243public static Cursor WaitCursor { 255public static Cursor Help { 267public static Cursor HSplit { 279public static Cursor VSplit { 291public static Cursor NoMove2D { 303public static Cursor NoMoveHoriz { 315public static Cursor NoMoveVert { 327public static Cursor PanEast { 339public static Cursor PanNE { 351public static Cursor PanNorth { 363public static Cursor PanNW { 375public static Cursor PanSE { 387public static Cursor PanSouth { 399public static Cursor PanSW { 411public static Cursor PanWest { 423public static Cursor Hand {
winforms\Managed\System\WinForms\DataGrid.cs (5)
2500public override Cursor Cursor { 4902Cursor.ClipInternal = RectangleToScreen(clip); 5000Cursor.ClipInternal = Rectangle.Empty; 5106Cursor.ClipInternal = RectangleToScreen(clip); 5155Cursor.ClipInternal = Rectangle.Empty;
winforms\Managed\System\WinForms\DataGridView.cs (3)
285private Cursor oldCursor; 2331internal Cursor CursorInternal 5174public Cursor UserSetCursor
winforms\Managed\System\WinForms\DataGridViewComboBoxEditingControl.cs (1)
111public virtual Cursor EditingPanelCursor
winforms\Managed\System\WinForms\DataGridViewEditingControl.cs (1)
47Cursor EditingPanelCursor
winforms\Managed\System\WinForms\DataGridViewLinkCell.cs (1)
48private static Cursor dataGridViewCursor = null;
winforms\Managed\System\WinForms\DataGridViewMethods.cs (2)
3423Cursor.ClipInternal = RectangleToScreen(cursorClip); 25753Cursor.ClipInternal = Rectangle.Empty;
winforms\Managed\System\WinForms\DataGridViewTextBoxEditingControl.cs (1)
105public virtual Cursor EditingPanelCursor
winforms\Managed\System\WinForms\Form.cs (1)
5006Cursor.Position = new Point(ptToSnap.x, ptToSnap.y);
winforms\Managed\System\WinForms\LinkLabel.cs (4)
73Cursor overrideCursor = null; 392protected Cursor OverrideCursor { 1926Cursor.CurrentInternal = OverrideCursor; 1929Cursor.CurrentInternal = Cursor;
winforms\Managed\System\WinForms\ListView.cs (5)
4107Point pos = Cursor.Position; 5362Point pos = Cursor.Position; 5392Point pos = Cursor.Position; 5787Point pos = Cursor.Position; 5974Point pos = Cursor.Position;
winforms\Managed\System\WinForms\Printing\PrintPreviewDialog.cs (1)
760public override Cursor Cursor {
winforms\Managed\System\WinForms\PropertyGrid.cs (1)
5033public override Cursor Cursor {
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyDescriptorGridEntry.cs (4)
821Cursor oldCursor = Cursor.Current; 823Cursor.Current = Cursors.WaitCursor; 863Cursor.Current = oldCursor;
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (2)
3613Cursor oldCursor = Cursor; 5276Point mouseLoc = Cursor.Position;
winforms\Managed\System\WinForms\SplitContainer.cs (4)
102Cursor overrideCursor = null; 576private Cursor OverrideCursor { 2352Cursor.CurrentInternal = OverrideCursor; 2355Cursor.CurrentInternal = Cursor;
winforms\Managed\System\WinForms\Splitter.cs (1)
118protected override Cursor DefaultCursor {
winforms\Managed\System\WinForms\TextBoxBase.cs (1)
559protected override Cursor DefaultCursor {
winforms\Managed\System\WinForms\ToolStrip.cs (4)
588public override Cursor Cursor { 4611Cursor currentCursor = Cursor.CurrentInternal; 4618Point cursorLocation = Cursor.Position;
winforms\Managed\System\WinForms\ToolStripContainer.cs (1)
254public override Cursor Cursor {
winforms\Managed\System\WinForms\ToolStripGrip.cs (2)
20private Cursor oldCursor; 253private static void SetCursor(Control control, Cursor cursor) {
winforms\Managed\System\WinForms\ToolStripLabel.cs (1)
34private Cursor lastCursor;
winforms\Managed\System\WinForms\ToolStripPanel.cs (3)
1146cursorLoc.Y = Cursor.Position.Y; 1150cursorLoc.X = Cursor.Position.X; 1152Cursor.Position = cursorLoc;
winforms\Managed\System\WinForms\ToolTip.cs (9)
1559Cursor currentCursor = Cursor.CurrentInternal; 1560Point cursorLocation = Cursor.Position; 2248Point cursorLocation = Cursor.Position; 2335Screen screen = Screen.FromPoint(Cursor.Position); 2393Cursor currentCursor = Cursor.CurrentInternal; 2394Point cursorPos = Cursor.Position; 2515Screen screen = Screen.FromPoint(Cursor.Position);
winforms\Managed\System\WinForms\TreeView.cs (4)
2163Point pos = Cursor.Position; 2904Point pos = Cursor.Position; 2939Point pos = Cursor.Position; 3018Point pos = Cursor.Position;
winforms\Managed\System\WinForms\WebBrowserBase.cs (1)
1477public override Cursor Cursor {
System.Windows.Forms.DataVisualization (1)
WinForm\ChartWinControl.cs (1)
168 internal System.Windows.Forms.Cursor defaultCursor = Cursors.Default;
System.Workflow.Activities (6)
Designers\StateDesigner.cs (1)
785internal Cursor Cursor
Designers\StateDesigner.Layouts.cs (1)
537private Cursor _previousCursor;
Rules\Design\Dialogs\BasicBrowserDialog.cs (4)
368private Cursor oldCursor; 372oldCursor = Cursor.Current; 373Cursor.Current = Cursors.WaitCursor; 377Cursor.Current = oldCursor;
System.Workflow.ComponentModel (33)
AuthoringOM\Design\Connector.cs (2)
832public Cursor GetCursor(Point cursorPoint) 834Cursor cursor = Cursors.Default;
AuthoringOM\Design\Dialogs\ThemeConfigurationDialog.cs (4)
324Cursor.Current = Cursors.WaitCursor; 329Cursor.Current = Cursors.Default; 501Cursor.Current = Cursors.WaitCursor; 521Cursor.Current = Cursors.Default;
AuthoringOM\Design\Dialogs\TypeBrowserDialog.cs (2)
389Cursor.Current = Cursors.WaitCursor; 431Cursor.Current = Cursors.Default;
AuthoringOM\Design\Dialogs\WorkflowPageSetupDialog.cs (2)
111Cursor.Current = Cursors.WaitCursor; 234Cursor.Current = Cursors.Default;
AuthoringOM\Design\MessageFilters\ConnectionManager.cs (3)
20internal static Cursor SnappedConnectionCursor = new Cursor(typeof(WorkflowView), "Resources.Connector.cur"); 21internal static Cursor NewConnectorCursor = new Cursor(typeof(WorkflowView), "Resources.ConnectorDraw.cur"); 420Cursor cursorToSet = Cursors.Default;
AuthoringOM\Design\MessageFilters\DragSelectionMessageFilter.cs (1)
19private Cursor previousCursor = Cursors.Default;
AuthoringOM\Design\MessageFilters\FreeFormDragDropManager.cs (7)
18private static Cursor DragMoveCursor = new Cursor(typeof(WorkflowView), "Resources.DragMoveCursor.cur"); 19private static Cursor DragCopyCursor = new Cursor(typeof(WorkflowView), "Resources.DragCopyCursor.cur"); 20private static Cursor MoveCursor = new Cursor(typeof(WorkflowView), "Resources.MoveCursor.cur"); 23private Cursor previousCursor = Cursors.Default; 86Cursor.Current = FreeFormDragDropManager.DragMoveCursor; 88Cursor.Current = FreeFormDragDropManager.DragCopyCursor; 90Cursor.Current = Cursors.No;
AuthoringOM\Design\MessageFilters\PanningMessageFilter.cs (3)
13private static Cursor PanBeganCursor = new Cursor(typeof(WorkflowView), "Resources.panClosed.cur"); 14private static Cursor PanReadyCursor = new Cursor(typeof(WorkflowView), "Resources.panOpened.cur"); 20private Cursor previousCursor = Cursors.Default;
AuthoringOM\Design\MessageFilters\ResizingMessageFilter.cs (1)
121Cursor cursorToSet = workflowView.Cursor;
AuthoringOM\Design\MessageFilters\ZoomingMessageFilter.cs (4)
15private static Cursor ZoomInCursor = new Cursor(typeof(WorkflowView), "Resources.zoomin.cur"); 16private static Cursor ZoomOutCursor = new Cursor(typeof(WorkflowView), "Resources.zoomout.cur"); 17private static Cursor ZoomDisabledCursor = new Cursor(typeof(WorkflowView), "Resources.zoomno.cur"); 25private Cursor previousCursor = Cursors.Default;
AuthoringOM\Design\WorkflowView.cs (4)
702Cursor cursor = Cursor.Current; 705Cursor.Current = Cursors.WaitCursor; 717Cursor.Current = cursor;