Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

datagridview mouse click event c#

    public event DataGridViewCellMouseEventHandler CellMouseClick;

    private void DataGridView1_CellMouseClick(Object sender, DataGridViewCellMouseEventArgs e)
    {
        MessageBox.Show("Mouse clicked in the datagridview!");
    }
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #datagridview #mouse #click #event
ADD COMMENT
Topic
Name
6+9 =