I have some code on (C# WINFORM)
private void myGrid_CellClick(object sender, DataGridViewCellEventArgs e)
{
// How to find out?
}
And I also call that event on Form_Load:
myGrid_CellClick(dgvDropsToVal, new DataGridViewCellEventArgs(0, 0));
How to find out that real mouse click occurred or it's triggered from Form_Load inside myGrid_CellClick?
Other then bool Flag on Form_Load.