Esempio n. 1
0
 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;
     }
 }
Esempio n. 2
0
 private void CurrentChart_MouseUp(object sender, TradingPlatform.BusinessLayer.Chart.ChartMouseNativeEventArgs e)
 {
     this.lastMouseDownPoint = Point.Empty;
 }