protected override void OnMouseUp(MouseEventArgs e) { if (_HangingIndent.Pushed) { _HangingIndent.Pushed = false; InvalidateMarker(_HangingIndent); OnHangingIndentChanged(new EventArgs()); } if (_LeftMargin.Pushed) { _LeftMargin.Pushed = false; InvalidateMarker(_LeftMargin); OnLeftMarginChanged(new EventArgs()); } if (_RightMargin.Pushed) { _RightMargin.Pushed = false; InvalidateMarker(_RightMargin); OnRightMarginChanged(new EventArgs()); } if (ImageMarkerControl != null) { ImageMarkerControl.Hide(); } base.OnMouseUp(e); }
private void InvalidateImageMarkerControl(MarginBarMarkerBase marker) { if (ImageMarkerControl != null) { if (!ImageMarkerControl.Shown) { ImageMarkerControl.Show(); } ImageMarkerControl.UpdateLines(GetImageMarkerLine(marker)); } }