21 references to CellContextMenuStripNeeded
System.Windows.Forms.Tests (21)
System\Windows\Forms\DataGridViewCellTests.cs (12)
150control.CellContextMenuStripNeeded += (sender, e) => callCount++; 178control.CellContextMenuStripNeeded += handler; 184control.CellContextMenuStripNeeded -= handler; 215control.CellContextMenuStripNeeded += handler; 221control.CellContextMenuStripNeeded -= handler; 4257control.CellContextMenuStripNeeded += (sender, e) => callCount++; 4279control.CellContextMenuStripNeeded += (sender, e) => callCount++; 4304control.CellContextMenuStripNeeded += (sender, e) => callCount++; 4332control.CellContextMenuStripNeeded += handler; 4338control.CellContextMenuStripNeeded -= handler; 4369control.CellContextMenuStripNeeded += handler; 4375control.CellContextMenuStripNeeded -= handler;
System\Windows\Forms\DataGridViewHeaderCellTests.cs (9)
2281control.CellContextMenuStripNeeded += (sender, e) => callCount++; 2303control.CellContextMenuStripNeeded += (sender, e) => callCount++; 2321control.CellContextMenuStripNeeded += (sender, e) => callCount++; 2338control.CellContextMenuStripNeeded += (sender, e) => callCount++; 2366control.CellContextMenuStripNeeded += (sender, e) => callCount++; 2394control.CellContextMenuStripNeeded += handler; 2400control.CellContextMenuStripNeeded -= handler; 2431control.CellContextMenuStripNeeded += handler; 2437control.CellContextMenuStripNeeded -= handler;