System.Windows.Forms.Control.OnMouseUp(System.Windows.Forms.MouseEventArgs)

Here are the examples of the csharp api class System.Windows.Forms.Control.OnMouseUp(System.Windows.Forms.MouseEventArgs) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

200 Examples 7

1. Example

View license
protected override void OnMouseUp(MouseEventArgs e)
		{
            // Cannot process a message for a disposed control
            if (!IsDisposed && !Disposing)
            {
                // Do we have a manager for processing mouse messages?
                if (ViewManager != null)
                    ViewManager.MouseUp(e, new Point(e.X, e.Y));
            }

			// Let base class fire events
			base.OnMouseUp(e);
		}

2. Example

Project: Krypton
Source File: VisualControlBase.cs
View license
protected override void OnMouseUp(MouseEventArgs e)
		{
            // Cannot process a message for a disposed control
            if (!IsDisposed && !Disposing)
            {
                // Do we have a manager for processing mouse messages?
                if (ViewManager != null)
                    ViewManager.MouseUp(e, new Point(e.X, e.Y));
            }

			// Let base class fire events
			base.OnMouseUp(e);
		}

3. Example

Project: Krypton
Source File: VisualPanel.cs
View license
protected override void OnMouseUp(MouseEventArgs e)
		{
            // Cannot process a message for a disposed control
            if (!IsDisposed)
            {
                // Do we have a manager for processing mouse messages?
                if (ViewManager != null)
                    ViewManager.MouseUp(e, new Point(e.X, e.Y));
            }

			// Let base class fire events
			base.OnMouseUp(e);
		}

4. Example

Project: Krypton
Source File: ContentTreeView.cs
View license
protected override void OnMouseUp(MouseEventArgs e)
        {
            _dragNode = null;
            base.OnMouseUp(e);
        }

5. Example

View license
protected override void OnMouseUp(MouseEventArgs e)
    {
      base.OnMouseUp(e);

      _dragStartedWithinWheel = false;
    }

6. Example

Project: ImageGlass
Source File: ImageListView.cs
View license
protected override void OnMouseUp(MouseEventArgs e)
        {
            navigationManager.MouseUp(e);
            base.OnMouseUp(e);
        }

7. Example

Project: TaskScheduler
Source File: PanelHeader.cs
View license
protected override void OnMouseUp(MouseEventArgs e)
		{
			base.OnMouseUp(e);
			if (hoverImage || !CanSelect)
				Checked = !Checked;
		}

8. Example

Project: VisualPlus
Source File: VisualForm.cs
View license
protected override void OnMouseUp(MouseEventArgs e)
        {
            if (DesignMode)
            {
                return;
            }

            base.OnMouseUp(e);
            User32.ReleaseCapture();
        }

9. Example

Project: EDDiscovery
Source File: ImageViewer.cs
View license
protected override void OnMouseUp(MouseEventArgs e)
        {
            base.OnMouseUp(e);

            if (this.IsPanning)
                this.IsPanning = false;
        }

10. Example

Project: EDDiscovery
Source File: ComboBoxCustom.cs
View license
private void _cbsystem_MouseUp(object sender, MouseEventArgs e)
        {
            base.OnMouseUp(e);
        }

11. Example

Project: EDDiscovery
Source File: RichTextBoxScroll.cs
View license
private void TextBox_MouseUp(object sender, MouseEventArgs e)
        {
            base.OnMouseUp(e);
        }

12. Example

Project: EDDiscovery
Source File: TextBoxBorder.cs
View license
private void Textbox_MouseUp(object sender, MouseEventArgs e)
        {
            base.OnMouseUp(e);
        }

13. Example

Project: BaiduPCS_NET
Source File: frmWaiting.cs
View license
protected override void OnMouseUp(MouseEventArgs e)
        {
            base.OnMouseUp(e);
            isMouseDown = false; 
            //if (IsTileBar(e.Location.X, e.Location.Y))
            //{
            //    if (e.Button == MouseButtons.Left)
            //    {
            //        isMouseDown = false;
            //    }
            //}
        }

14. Example

Project: NClass
Source File: Canvas.cs
View license
protected override void OnMouseUp(MouseEventArgs e)
		{
			base.OnMouseUp(e);
			
			if (HasDocument)
			{
				Document.MouseUp(new AbsoluteMouseEventArgs(e, Document));
			}
		}

15. Example

Project: NClass
Source File: TabBar.cs
View license
protected override void OnMouseUp(MouseEventArgs e)
		{
			base.OnMouseUp(e);
			grabbedTab = null;
		}

16. Example

View license
protected override void OnMouseUp (MouseEventArgs e)
    {
      _draggedTab = null;

      base.OnMouseUp (e);
    }

17. Example

Project: gitter
Source File: CustomButton.cs
View license
protected override void OnMouseUp(MouseEventArgs e)
		{
			if(e.Button == System.Windows.Forms.MouseButtons.Left)
			{
				IsPressed = false;
			}
			base.OnMouseUp(e);
		}

18. Example

Project: gitter
Source File: ViewHost.cs
View license
protected override void OnMouseUp(MouseEventArgs e)
		{
			base.OnMouseUp(e);
			if((e.Button & MouseButtons.Left) == MouseButtons.Left && _resizingProcess.IsActive)
			{
				_resizingProcess.Commit(e.Location);
			}
		}

19. Example

Project: gitter
Source File: ViewSplit.cs
View license
protected override void OnMouseUp(MouseEventArgs e)
		{
			if(_positions.IsMoving)
			{
				_positions.CommitMoving(e.Location);
			}
			base.OnMouseUp(e);
		}

20. Example

Project: WzComparerR2
Source File: AvatarContainer.cs
View license
protected override void OnMouseUp(MouseEventArgs e)
        {
            if ((e.Button & System.Windows.Forms.MouseButtons.Left) == System.Windows.Forms.MouseButtons.Left)
            {
                isDragging = false;
            }
            base.OnMouseUp(e);
        }

21. Example

Project: LiveSplit
Source File: ColorSlider.cs
View license
protected override void OnMouseUp(MouseEventArgs e)
		{
			base.OnMouseUp(e);
			this.pickerDrag = false;
			this.pickerDragTimer.Enabled = false;
		}

22. Example

Project: AntMeCore
Source File: BaseSceneControl.cs
View license
protected override void OnMouseUp(MouseEventArgs e)
        {
            base.OnMouseUp(e);

            if (e.Button == MouseButtons.Right)
                mouseDragging = false;
        }

23. Example

Project: ME3Explorer
Source File: PCanvas.cs
View license
protected override void OnMouseUp(MouseEventArgs e) {
			base.OnMouseUp (e);
			Root.DefaultInputManager.ProcessEventFromCamera(e, PInputType.MouseUp, Camera, null);
		}

24. Example

View license
protected override void OnMouseUp(MouseEventArgs e)
		{
			base.OnMouseUp(e);
			Bool = false;
		}

25. Example

Project: Launcher_Multigaming
Source File: FormSkin.cs
View license
protected override void OnMouseUp(MouseEventArgs e)
		{
			base.OnMouseUp(e);
			Cap = false;
		}

26. Example

Project: Launcher_Multigaming
Source File: Italk.cs
View license
protected override void OnMouseUp(System.Windows.Forms.MouseEventArgs e)
        {
            base.OnMouseUp(e);
            Cap = false;
        }

27. Example

Project: Launcher_Multigaming
Source File: Italk.cs
View license
protected override void OnMouseUp(System.Windows.Forms.MouseEventArgs e)
        {
            base.OnMouseUp(e);
            Toggled = !Toggled;
        }

28. Example

Project: Launcher_Multigaming
Source File: Italk.cs
View license
protected override void OnMouseUp(MouseEventArgs e)
        {
            base.OnMouseUp(e);
            this.Cap = false;
        }

29. Example

Project: Launcher_Multigaming
Source File: MonoFlat.cs
View license
protected override void OnMouseUp(System.Windows.Forms.MouseEventArgs e)
        {
            base.OnMouseUp(e);
            Cap = false;
        }

30. Example

Project: Launcher_Multigaming
Source File: MonoFlat.cs
View license
protected override void OnMouseUp(MouseEventArgs e)
        {
            base.OnMouseUp(e);
            Cap = false;
        }

31. Example

View license
protected override void OnMouseUp(MouseEventArgs e)
		{
			base.OnMouseUp(e);
			Bool = false;
		}

32. Example

Project: Launcher_Multigaming
Source File: FormSkin.cs
View license
protected override void OnMouseUp(MouseEventArgs e)
		{
			base.OnMouseUp(e);
			Cap = false;
		}

33. Example

Project: Launcher_Multigaming
Source File: Italk.cs
View license
protected override void OnMouseUp(System.Windows.Forms.MouseEventArgs e)
        {
            base.OnMouseUp(e);
            Cap = false;
        }

34. Example

Project: Launcher_Multigaming
Source File: Italk.cs
View license
protected override void OnMouseUp(System.Windows.Forms.MouseEventArgs e)
        {
            base.OnMouseUp(e);
            Toggled = !Toggled;
        }

35. Example

Project: Launcher_Multigaming
Source File: Italk.cs
View license
protected override void OnMouseUp(MouseEventArgs e)
        {
            base.OnMouseUp(e);
            this.Cap = false;
        }

36. Example

Project: Launcher_Multigaming
Source File: MonoFlat.cs
View license
protected override void OnMouseUp(System.Windows.Forms.MouseEventArgs e)
        {
            base.OnMouseUp(e);
            Cap = false;
        }

37. Example

Project: Launcher_Multigaming
Source File: MonoFlat.cs
View license
protected override void OnMouseUp(MouseEventArgs e)
        {
            base.OnMouseUp(e);
            Cap = false;
        }

38. Example

View license
protected override void OnMouseUp(MouseEventArgs e)
		{
			base.OnMouseUp(e);
			Bool = false;
		}

39. Example

Project: Launcher_Multigaming
Source File: FormSkin.cs
View license
protected override void OnMouseUp(MouseEventArgs e)
		{
			base.OnMouseUp(e);
			Cap = false;
		}

40. Example

Project: Launcher_Multigaming
Source File: Italk.cs
View license
protected override void OnMouseUp(System.Windows.Forms.MouseEventArgs e)
        {
            base.OnMouseUp(e);
            Cap = false;
        }

41. Example

Project: Launcher_Multigaming
Source File: Italk.cs
View license
protected override void OnMouseUp(System.Windows.Forms.MouseEventArgs e)
        {
            base.OnMouseUp(e);
            Toggled = !Toggled;
        }

42. Example

Project: Launcher_Multigaming
Source File: Italk.cs
View license
protected override void OnMouseUp(MouseEventArgs e)
        {
            base.OnMouseUp(e);
            this.Cap = false;
        }

43. Example

Project: Launcher_Multigaming
Source File: MonoFlat.cs
View license
protected override void OnMouseUp(System.Windows.Forms.MouseEventArgs e)
        {
            base.OnMouseUp(e);
            Cap = false;
        }

44. Example

Project: Launcher_Multigaming
Source File: MonoFlat.cs
View license
protected override void OnMouseUp(MouseEventArgs e)
        {
            base.OnMouseUp(e);
            Cap = false;
        }

45. Example

Project: dx11-vvvv
Source File: DX11RendererNode_ctrl.cs
View license
protected override void OnMouseUp(System.Windows.Forms.MouseEventArgs e)
        {
            if (e.Button == System.Windows.Forms.MouseButtons.Left) { this.FMouseButtons.x = 0; }
            if (e.Button == System.Windows.Forms.MouseButtons.Middle) { this.FMouseButtons.y = 0; }
            if (e.Button == System.Windows.Forms.MouseButtons.Right) { this.FMouseButtons.z = 0; }
            base.OnMouseUp(e);
        }

46. Example

Project: imagelistview
Source File: ImageListView.cs
View license
protected override void OnMouseUp(MouseEventArgs e)
        {
            navigationManager.MouseUp(e);
            base.OnMouseUp(e);
        }

47. Example

Project: OpenLiveWriter
Source File: BitmapButton.cs
View license
protected override void OnMouseUp(MouseEventArgs e)
        {
            //	Call the base class's method so that registered delegates receive the event.
            base.OnMouseUp(e);

            //	Left or right up.
            if (e.Button == MouseButtons.Left)
                LeftMouseDown = false;
            else if (e.Button == MouseButtons.Right)
                RightMouseDown = false;
        }

48. Example

Project: HTML-Renderer
Source File: HtmlLabel.cs
View license
protected override void OnMouseUp(MouseEventArgs e)
        {
            base.OnMouseUp(e);
            if (_htmlContainer != null)
                _htmlContainer.HandleMouseUp(this, e);
        }

49. Example

Project: HTML-Renderer
Source File: HtmlPanel.cs
View license
protected override void OnMouseUp(MouseEventArgs e)
        {
			base.OnMouseUp(e);
            if (_htmlContainer != null)
                _htmlContainer.HandleMouseUp(this, e);
        }

50. Example

Project: SystemEx
Source File: ExplorerBar.cs
View license
protected override void OnMouseUp(MouseEventArgs e)
        {
            base.OnMouseUp(e);

            _isResizing = false;
        }