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