private void CurrentChart_MouseDown(object sender, TradingPlatform.BusinessLayer.Chart.ChartMouseNativeEventArgs e) { if (e.Button == TradingPlatform.BusinessLayer.Native.NativeMouseButtons.Left && this.CurrentChart.MainWindow.ClientRectangle.Contains(e.Location)) { this.lastMouseDownPoint = e.Location; e.Handled = true; } }
private void CurrentChart_MouseUp(object sender, TradingPlatform.BusinessLayer.Chart.ChartMouseNativeEventArgs e) { this.lastMouseDownPoint = Point.Empty; }