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

1. Example

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

2. Example

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

3. Example

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

4. Example

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

5. Example

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

6. Example

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

7. Example

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

8. Example

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

9. Example

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

10. Example

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

11. Example

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

12. Example

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

13. Example

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

		    _cursorHidden = false;
		}

14. Example

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

15. Example

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

16. Example

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

17. Example

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

18. Example

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

19. Example

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

20. Example

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

21. Example

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

			Cursor.Show();
			cursorShowing = true;
		}

22. Example

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

23. Example

View license
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;
            }

		}

24. Example

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

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

25. Example

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

26. Example

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

27. Example

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

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

            _currentCursorState = show;
        }

28. Example

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

29. Example

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

30. Example

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

31. Example

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

32. Example

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

33. Example

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

34. Example

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

35. Example

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

36. Example

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

37. Example

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

38. Example

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

39. Example

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

40. Example

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

41. Example

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

42. Example

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

43. Example

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

44. Example

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

45. Example

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

46. Example

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

47. Example

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

48. Example

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

49. Example

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

50. Example

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