c# - How to call Datagridview cell double click event from a button? - Stack Overflow

PHOTO EMBED

Wed May 11 2022 15:24:30 GMT+0000 (UTC)

Saved by @javicinhio #cs

    private void button6_Click(object sender, EventArgs e)
    {

        ListDataGridView_CellDoubleClick(this.ListDataGridView, new DataGridViewCellEventArgs(this.ListDataGridView.CurrentCell.ColumnIndex,this.ListDataGridView.CurrentRow.Index));

    }
content_copyCOPY

https://stackoverflow.com/questions/39015557/how-to-call-datagridview-cell-double-click-event-from-a-button