Apparently this is not possible by simply setting the properties in the DataGridView. Thus, you can use the Timer to count, if there was a double click, if you are not just doing what you are doing in the event handler with one click, check the code:
System.Windows.Forms.Timer t; public Form1() { InitializeComponent(); t = new System.Windows.Forms.Timer(); t.Interval = SystemInformation.DoubleClickTime - 1; t.Tick += new EventHandler(t_Tick); } void t_Tick(object sender, EventArgs e) { t.Stop(); DataGridViewCellEventArgs dgvcea = (DataGridViewCellEventArgs)t.Tag; MessageBox.Show("Single");
source share