Here are the examples of the csharp api class System.Windows.Forms.Cursor.Show() taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
88 Examples
0
1. Example
View licenseinternal void ShowHiddenCursor(bool forceShow) { if (hiddenMouseCursor) { if (mouseCursorHidePosition != Cursor.Position || forceShow) { Cursor.Show(); hiddenMouseCursor = false; } } }
0
2. Example
View licensevoid ShowMouseCursor() { if (this.isMouseCursorHidden) { System.Windows.Forms.Cursor.Show(); this.isMouseCursorHidden = false; } }
0
3. Example
View licenseprivate void Form_Closed(object sender, FormClosedEventArgs e) { t_hider.Stop(); t_killer.Stop(); Utility.ToggleTaskbar(true); Cursor.Show(); }
0
4. Example
View licensevoid FormStatus_FormClosed(object sender, FormClosedEventArgs e) { Cursor.Show(); Program.ExitApplication(); }
0
5. Example
View licenseprivate void pictureLevel_MouseLeave(object sender, EventArgs e) { Cursor.Show(); pictureLevel.Invalidate(); }
0
6. Example
View licenseinternal void ShowHiddenCursor(bool forceShow) { if (hiddenMouseCursor) { if (mouseCursorHidePosition != Cursor.Position || forceShow) { Cursor.Show(); hiddenMouseCursor = false; } } }
0
7. Example
View licenseinternal void ShowHiddenCursor(bool forceShow) { if (hiddenMouseCursor) { if (mouseCursorHidePosition != Cursor.Position || forceShow) { Cursor.Show(); hiddenMouseCursor = false; } } }
0
8. Example
View licenseprivate void Control_MouseLeave(object sender, EventArgs e) { if (!this.isCursorVisible) { this.isCursorVisible = true; Cursor.Show(); } }
0
9. Example
View licenseinternal void ShowHiddenCursor(bool forceShow) { if (hiddenMouseCursor) { if (mouseCursorHidePosition != Cursor.Position || forceShow) { Cursor.Show(); hiddenMouseCursor = false; } } }
0
10. Example
View licenseprivate void HandleControlMouseLeave(object sender, System.EventArgs e) { if (isMouseCurrentlyHidden) { Cursor.Show(); isMouseCurrentlyHidden = false; } }
0
11. Example
View licenseinternal void ShowHiddenCursor(bool forceShow) { if (hiddenMouseCursor) { if (mouseCursorHidePosition != Cursor.Position || forceShow) { Cursor.Show(); hiddenMouseCursor = false; } } }
0
12. Example
View licenseprivate void BeamerFormClosing(object sender, FormClosingEventArgs e) { Cursor.Show(); // Save user-configurations. Configuration.Settings.SubtitleBeaming.FontName = _subtitleFontName; Configuration.Settings.SubtitleBeaming.FontSize = (int)_subtitleFontSize; Configuration.Settings.SubtitleBeaming.FontColor = _subtitleColor; Configuration.Settings.SubtitleBeaming.BorderColor = _borderColor; Configuration.Settings.SubtitleBeaming.BorderWidth = (int)_borderWidth; }
0
13. Example
View licensepublic void ShowCursor() { if (_cursorHidden) { Cursor.Show(); } _cursorHidden = false; }
0
14. Example
View licensevoid ShowMouseCursor() { if (this.isMouseCursorHidden) { System.Windows.Forms.Cursor.Show(); this.isMouseCursorHidden = false; } }
0
15. Example
View licenseinternal void ShowHiddenCursor(bool forceShow) { if (hiddenMouseCursor) { if (mouseCursorHidePosition != Cursor.Position || forceShow) { Cursor.Show(); hiddenMouseCursor = false; } } }
0
16. Example
View licenseinternal void ShowHiddenCursor(bool forceShow) { if (hiddenMouseCursor) { if (mouseCursorHidePosition != Cursor.Position || forceShow) { Cursor.Show(); hiddenMouseCursor = false; } } }
0
17. Example
View licensepublic override void Dispose() { mesh.Dispose(); gui.Dispose(); effect.Dispose(); Cursor.Show(); }
0
0
19. Example
View licenseprotected void _OnMouseLeave(object sender, EventArgs e) { _Mouse.Visible = false; #if !WIN && !DEBUG _Form.Cursor = Cursors.Default; #endif Cursor.Show(); }
0
20. Example
View licenseinternal void ShowHiddenCursor(bool forceShow) { if (_mouseCursorHidden) { if (_mouseCursorHidePosition != Cursor.Position || forceShow) { Cursor.Show(); _mouseCursorHidden = false; } } }
0
21. Example
View licensepublic static void CursorShow() { if (cursorShowing) return; Cursor.Show(); cursorShowing = true; }
0
22. Example
View licenseprivate static void CursorReset() { Cursor.Current = Cursors.Default; Cursor.Show(); }
0
23. Example
View licenseprivate void _btnOk_Click(object sender, EventArgs e) { var currentCur = Cursor.Current; try { Cursor.Current = Cursors.WaitCursor; Cursor.Show(); _component.Accept(); } finally { Cursor.Current = currentCur; } }
0
24. Example
View licenseprivate void ResizeHandler(Object sender, EventArgs e) { if (D3DDevice.SwapChain == null) return; if (D3DDevice.SwapChain.IsFullScreen) { Cursor.Hide(); } else { Cursor.Show(); } }
0
25. Example
View licenseprivate async void endingActivate() { history.ReadOnly = true; history.Text = ""; await Task.Delay(1500); history.Text = "Starting MS-DOS..."; await Task.Delay(1000); history.Text = "Starting MS-DOS..." + Environment.NewLine + Environment.NewLine + "C:\\>"; history.ReadOnly = false; await Task.Delay(5000); history.ReadOnly = true; history.Text = "GAME OVER. Your computer has been locked down to MS-DOS because you pirated software. Seriously, what were you thinking?"; await Task.Delay(2000); Cursor.Show(); SaveSystem.SaveAchievement(0); new AchievementBox(0); }
0
26. Example
View licensepublic void hide() { if (_locked) { System.Windows.Forms.Cursor.Hide(); } else { System.Windows.Forms.Cursor.Show(); } }
0
27. Example
View licenseprivate void ShowCursor(bool show) { if (show == _currentCursorState) { return; } if (show) { Cursor.Show(); } else { Cursor.Hide(); } _currentCursorState = show; }
0
28. Example
View licenseprivate void UpdateDialogLevel() { if (dialogLevel < 0) throw new Exception("Dialog level less than zero."); if (suppressCursor && dialogLevel == 0) { if (!cursorHidden) { Cursor.Hide(); cursorHidden = true; } } else if (cursorHidden) { Cursor.Show(); cursorHidden = false; } keyboard.Enabled = dialogLevel == 0; }
0
29. Example
View licenseprotected override void OnMouseUp(MouseEventArgs e) { if (e.Button == System.Windows.Forms.MouseButtons.Left) { if (drag_map) { drag_map = false; System.Windows.Forms.Cursor.Show(); System.Windows.Forms.Cursor.Position = initial_position; } } base.OnMouseUp(e); }
0
30. Example
View licenseprivate void ShowCursor() { if (cursorHidden) { Cursor.Show(); cursorHidden = false; if (MouseShown != null) MouseShown(this, EventArgs.Empty); } }
0
31. Example
View licenseprivate void BeamerKeyDown(object sender, KeyEventArgs e) { if (e.Modifiers == K/n ..... /n //View Source file for more details /n }
0
32. Example
View licensepublic void gui_render(float elapsedTime) { // ---------------------------------/n ..... /n //View Source file for more details /n }
0
33. Example
View licensepublic void Dispose() { ResourceManager.WriteResourceDescriptions(); LogHistogram(); Logger.Info("Unintializing ..."); Bass.BASS_ChannelStop(_soundStream); Utilities.DisposeObj(ref _renderTargetView); Utilities.DisposeObj(ref _renderTargetDepthView); Utilities.DisposeObj(ref _renderDepth); Utilities.DisposeObj(ref _texture); Utilities.DisposeObj(ref _renderer); Utilities.DisposeObj(ref _model); Utilities.DisposeObj(ref D3DDevice.SwapChain); Utilities.DisposeObj(ref D3DDevice.DX10_1Device); Utilities.DisposeObj(ref D3DDevice.Direct2DFactory); Utilities.DisposeObj(ref D3DDevice.DirectWriteFactory); Utilities.DisposeObj(ref D3DDevice.Device); Bass.BASS_StreamFree(_soundStream); Utilities.DisposeObj(ref _form); Cursor.Show(); }
0
34. Example
View licenseprivate static void KillGLWindow() { if(fullscreen) { /n ..... /n //View Source file for more details /n }
0
35. Example
View licenseprivate static void KillGLWindow() { if(fullscreen) { /n ..... /n //View Source file for more details /n }
0
36. Example
View licenseprivate static void KillGLWindow() { if(fullscreen) { /n ..... /n //View Source file for more details /n }
0
37. Example
View licenseprivate static void KillGLWindow() { if(fullscreen) { /n ..... /n //View Source file for more details /n }
0
38. Example
View licenseprivate static void KillGLWindow() { if(fullscreen) { /n ..... /n //View Source file for more details /n }
0
39. Example
View licenseprivate static void KillGLWindow() { if(fullscreen) { /n ..... /n //View Source file for more details /n }
0
40. Example
View licenseprivate static void KillGLWindow() { if(fullscreen) { /n ..... /n //View Source file for more details /n }
0
41. Example
View licenseprivate static void KillGLWindow() { if(fullscreen) { /n ..... /n //View Source file for more details /n }
0
42. Example
View licenseprivate static void KillGLWindow() { if(fullscreen) { /n ..... /n //View Source file for more details /n }
0
43. Example
View licenseprivate static void KillGLWindow() { if(fullscreen) { /n ..... /n //View Source file for more details /n }
0
44. Example
View licenseprivate static void KillGLWindow() { if(fullscreen) { /n ..... /n //View Source file for more details /n }
0
45. Example
View licenseprivate static void KillGLWindow() { if(fullscreen) { /n ..... /n //View Source file for more details /n }
0
46. Example
View licenseprivate static void KillGLWindow() { if(fullscreen) { /n ..... /n //View Source file for more details /n }
0
47. Example
View licenseprivate static void KillGLWindow() { Glu.gluDeleteQuadric(quadratic); /n ..... /n //View Source file for more details /n }
0
48. Example
View licenseprivate static void KillGLWindow() { if(fullscreen) { /n ..... /n //View Source file for more details /n }
0
49. Example
View licenseprivate static void KillGLWindow() { if(fullscreen) { /n ..... /n //View Source file for more details /n }
0
50. Example
View licenseprivate static void KillGLWindow() { if(fullscreen) { /n ..... /n //View Source file for more details /n }