private void fpSheetEditor1_MouseUp(object sender, MouseEventArgs e) { if (e.Button == MouseButtons.Right) { MyCell fpSpread = fpSheetEditor1.FpSpread; if (FpSpread.HitTest(e.X, e.Y).Type == HitTestType.Viewport) { contextMenuStrip1.Show(fpSpread, fpSpread.PointToClient(Cursor.Position)); } } }