System.Windows.Forms.Cursor.Show()

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 7

51. Example

Project: NVIDIASurroundToggler
Source File: SplashForm.cs
private void Form_Closed(object sender, FormClosedEventArgs e)
        {
            t_hider.Stop();
            t_killer.Stop();
            Utility.ToggleTaskbar(true);
            Cursor.Show();
        }

52. Example

Project: Disco
Source File: FormStatus.cs
void FormStatus_FormClosed(object sender, FormClosedEventArgs e)
        {
            Cursor.Show();
            Program.ExitApplication();
        }

53. Example

Project: Mario-Game
Source File: FormEditor.cs
private void pictureLevel_MouseLeave(object sender, EventArgs e)
        {
            Cursor.Show();
         
            pictureLevel.Invalidate();
        
        }

54. Example

Project: Pyramid
Source File: TextArea.cs
internal void ShowHiddenCursor(bool forceShow)
		{
			if (hiddenMouseCursor) {
				if (mouseCursorHidePosition != Cursor.Position || forceShow) {
					Cursor.Show();
					hiddenMouseCursor = false;
				}
			}
		}

55. Example

Project: fdotoolbox
Source File: TextArea.cs
internal void ShowHiddenCursor(bool forceShow)
		{
			if (hiddenMouseCursor) {
				if (mouseCursorHidePosition != Cursor.Position || forceShow) {
					Cursor.Show();
					hiddenMouseCursor = false;
				}
			}
		}

56. Example

Project: dx11-vvvv
Source File: WindowDisplayCursor.cs
private void Control_MouseLeave(object sender, EventArgs e)
        {
            if (!this.isCursorVisible)
            {
                this.isCursorVisible = true;
                Cursor.Show();
            }
        }

57. Example

Project: ecsharp
Source File: TextArea.cs
internal void ShowHiddenCursor(bool forceShow)
		{
			if (hiddenMouseCursor) {
				if (mouseCursorHidePosition != Cursor.Position || forceShow) {
					Cursor.Show();
					hiddenMouseCursor = false;
				}
			}
		}

58. Example

Project: Toolkit
Source File: GameWindowDesktop.cs
private void HandleControlMouseLeave(object sender, System.EventArgs e)
        {
            if (isMouseCurrentlyHidden)
            {
                Cursor.Show();
                isMouseCurrentlyHidden = false;
            }
        }

59. Example

Project: log2console
Source File: TextArea.cs
internal void ShowHiddenCursor(bool forceShow)
		{
			if (hiddenMouseCursor) {
				if (mouseCursorHidePosition != Cursor.Position || forceShow) {
					Cursor.Show();
					hiddenMouseCursor = false;
				}
			}
		}

60. Example

Project: subtitleedit
Source File: Beamer.cs
private 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;
        }

61. Example

Project: Gorgon
Source File: GorgonPointingDevice.cs
public void ShowCursor()
		{
		    if (_cursorHidden)
		    {
		        Cursor.Show();
		    }

		    _cursorHidden = false;
		}

62. Example

Project: JustAssembly
Source File: TextArea.cs
void ShowMouseCursor()
		{
			if (this.isMouseCursorHidden) {
				System.Windows.Forms.Cursor.Show();
				this.isMouseCursorHidden = false;
			}
		}

63. Example

Project: justdecompile-plugins
Source File: TextArea.cs
internal void ShowHiddenCursor(bool forceShow)
		{
			if (hiddenMouseCursor) {
				if (mouseCursorHidePosition != Cursor.Position || forceShow) {
					Cursor.Show();
					hiddenMouseCursor = false;
				}
			}
		}

64. Example

Project: justdecompile-plugins
Source File: TextArea.cs
internal void ShowHiddenCursor(bool forceShow)
		{
			if (hiddenMouseCursor) {
				if (mouseCursorHidePosition != Cursor.Position || forceShow) {
					Cursor.Show();
					hiddenMouseCursor = false;
				}
			}
		}

65. Example

Project: tgc-viewer
Source File: GUITest.cs
public override void Dispose()
        {
            mesh.Dispose();
            gui.Dispose();
            effect.Dispose();
            Cursor.Show();
        }

66. Example

Project: tgc-viewer
Source File: Transformers.cs
public override void Dispose()
        {
            gui.Dispose();
            Cursor.Show();
        }

67. Example

Project: Vocaluxe
Source File: CDrawBaseWindows.cs
protected void _OnMouseLeave(object sender, EventArgs e)
        {
            _Mouse.Visible = false;
            #if !WIN && !DEBUG
            _Form.Cursor = Cursors.Default;
            #endif
            Cursor.Show();
        }

68. Example

Project: SquareOne
Source File: TextArea.cs
internal void ShowHiddenCursor(bool forceShow)
    {
      if (_mouseCursorHidden)
      {
        if (_mouseCursorHidePosition != Cursor.Position || forceShow)
        {
          Cursor.Show();
          _mouseCursorHidden = false;
        }
      }
    }

69. Example

Project: bvcms
Source File: Program.cs
public static void CursorShow()
		{
			if (cursorShowing)
				return;

			Cursor.Show();
			cursorShowing = true;
		}

70. Example

Project: ClearCanvas
Source File: SuggestComboBox.cs
private static void CursorReset()
		{
			Cursor.Current = Cursors.Default;
			Cursor.Show();
		}

71. Example

Project: ClearCanvas
Source File: CustomizeViewerActionModelsComponentControl.cs
private void _btnOk_Click(object sender, EventArgs e)
		{
		    var currentCur = Cursor.Current;
            try
            {
                Cursor.Current = Cursors.WaitCursor;
                Cursor.Show();
                _component.Accept();
            }
            finally
            {
                Cursor.Current = currentCur;
            }

		}

72. Example

Project: tooll
Source File: Player.cs
private void ResizeHandler(Object sender, EventArgs e) {
            if (D3DDevice.SwapChain == null)
                return;

            if (D3DDevice.SwapChain.IsFullScreen) {
                Cursor.Hide();
            }
            else {
                Cursor.Show();
            }
        }

73. Example

Project: Histacom2
Source File: WebChat1998.cs
private 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);
        }

74. Example

Project: KailashEngine
Source File: Mouse.cs
public void hide()
        {
            if (_locked)
            {
                System.Windows.Forms.Cursor.Hide();
            }
            else
            {
                System.Windows.Forms.Cursor.Show();
            }
        }

75. Example

Project: ContrAlto
Source File: AltoWindow.cs
private void ShowCursor(bool show)
        {
            if (show == _currentCursorState)
            {
                return;
            }

            if (show)
            {
                Cursor.Show();
            }
            else
            {
                Cursor.Hide();
            }

            _currentCursorState = show;
        }

76. Example

Project: Sharp80
Source File: MainForm.cs
private 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;
        }

77. Example

Project: Tibialyzer
Source File: MapPictureBox.cs
protected 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);
        }

78. Example

Project: FieldLog
Source File: MouseFilter.cs
private void ShowCursor()
		{
			if (cursorHidden)
			{
				Cursor.Show();
				cursorHidden = false;
				if (MouseShown != null) MouseShown(this, EventArgs.Empty);
			}
		}

79. Example

Project: subtitleedit
Source File: Beamer.cs
private void BeamerKeyDown(object sender, KeyEventArgs e)
        {
            if (e.Modifiers == K/n ..... /n //View Source file for more details /n }

80. Example

Project: tgc-viewer
Source File: GUITest.cs
public void gui_render(float elapsedTime)
        {
            // ---------------------------------/n ..... /n //View Source file for more details /n }

81. Example

Project: tooll
Source File: Player.cs
public 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();
        }

82. Example

Project: tao
Source File: Lesson01.cs
private static void KillGLWindow() {
            if(fullscreen) {                                   /n ..... /n //View Source file for more details /n }

83. Example

Project: tao
Source File: Lesson02.cs
private static void KillGLWindow() {
            if(fullscreen) {                                   /n ..... /n //View Source file for more details /n }

84. Example

Project: tao
Source File: Lesson03.cs
private static void KillGLWindow() {
            if(fullscreen) {                                   /n ..... /n //View Source file for more details /n }

85. Example

Project: tao
Source File: Lesson04.cs
private static void KillGLWindow() {
            if(fullscreen) {                                   /n ..... /n //View Source file for more details /n }

86. Example

Project: tao
Source File: Lesson05.cs
private static void KillGLWindow() {
            if(fullscreen) {                                   /n ..... /n //View Source file for more details /n }

87. Example

Project: tao
Source File: Lesson06.cs
private static void KillGLWindow() {
            if(fullscreen) {                                   /n ..... /n //View Source file for more details /n }

88. Example

Project: tao
Source File: Lesson07.cs
private static void KillGLWindow() {
            if(fullscreen) {                                   /n ..... /n //View Source file for more details /n }

89. Example

Project: tao
Source File: Lesson08.cs
private static void KillGLWindow() {
            if(fullscreen) {                                   /n ..... /n //View Source file for more details /n }

90. Example

Project: tao
Source File: Lesson09.cs
private static void KillGLWindow() {
            if(fullscreen) {                                   /n ..... /n //View Source file for more details /n }

91. Example

Project: tao
Source File: Lesson10.cs
private static void KillGLWindow() {
            if(fullscreen) {                                   /n ..... /n //View Source file for more details /n }

92. Example

Project: tao
Source File: Lesson11.cs
private static void KillGLWindow() {
            if(fullscreen) {                                   /n ..... /n //View Source file for more details /n }

93. Example

Project: tao
Source File: Lesson12.cs
private static void KillGLWindow() {
            if(fullscreen) {                                   /n ..... /n //View Source file for more details /n }

94. Example

Project: tao
Source File: Lesson16.cs
private static void KillGLWindow() {
            if(fullscreen) {                                   /n ..... /n //View Source file for more details /n }

95. Example

Project: tao
Source File: Lesson18.cs
private static void KillGLWindow() {
            Glu.gluDeleteQuadric(quadratic);                   /n ..... /n //View Source file for more details /n }

96. Example

Project: tao
Source File: Lesson19.cs
private static void KillGLWindow() {
            if(fullscreen) {                                   /n ..... /n //View Source file for more details /n }

97. Example

Project: tao
Source File: Lesson20.cs
private static void KillGLWindow() {
            if(fullscreen) {                                   /n ..... /n //View Source file for more details /n }

98. Example

Project: tao
Source File: Lesson21.cs
private static void KillGLWindow() {
            if(fullscreen) {                                   /n ..... /n //View Source file for more details /n }

99. Example

Project: tao
Source File: Lesson23.cs
private static void KillGLWindow() {
            if(fullscreen) {                                   /n ..... /n //View Source file for more details /n }

100. Example

Project: tao
Source File: Lesson25.cs
private static void KillGLWindow() {
            if(fullscreen) {                                   /n ..... /n //View Source file for more details /n }