Avatar of Amitava_Mukherjee
Flag for India

asked on 

DataGridViewCell MouseClick Event On Particular Zone in C#

I have a datagridview cell containing the following text

" + This is test"

Now I want to show a messagebox sowing message "+" if the mouse clicked on the + sign (In a single cell), and another messagebox "This is test" if mouse clicked on the rest portion. The whole string is showing in a single DataGridViewTextboxCell.

Is it possible? If it is, kindly send me the code in C#.

Thanking you
.NET ProgrammingC#

Avatar of undefined
Last Comment

8/22/2022 - Mon