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