Beispiel #1
0
 void SpreadsheetControl_MouseClick(object sender, MouseEventArgs e)
 {
     if (e.Button == MouseButtons.Left)
     {
         invoiceHelper.OnPreviewMouseLeftButton(spreadsheetControl1.GetCellFromPoint(e.Location));
     }
 }
        void OnPreviewMouseLeftButtonDown(object sender, System.Windows.Input.MouseButtonEventArgs e)
        {
            var cell = AssociatedObject.GetCellFromPoint(e.GetPosition(AssociatedObject).ToDrawingPoint());

            invoiceHelper.OnPreviewMouseLeftButton(cell);
        }