21 references to CellContextMenuStripNeeded
System.Windows.Forms.Tests (21)
System\Windows\Forms\DataGridViewCellTests.cs (12)
152
control.
CellContextMenuStripNeeded
+= (sender, e) => callCount++;
180
control.
CellContextMenuStripNeeded
+= handler;
186
control.
CellContextMenuStripNeeded
-= handler;
217
control.
CellContextMenuStripNeeded
+= handler;
223
control.
CellContextMenuStripNeeded
-= handler;
4259
control.
CellContextMenuStripNeeded
+= (sender, e) => callCount++;
4281
control.
CellContextMenuStripNeeded
+= (sender, e) => callCount++;
4306
control.
CellContextMenuStripNeeded
+= (sender, e) => callCount++;
4334
control.
CellContextMenuStripNeeded
+= handler;
4340
control.
CellContextMenuStripNeeded
-= handler;
4371
control.
CellContextMenuStripNeeded
+= handler;
4377
control.
CellContextMenuStripNeeded
-= handler;
System\Windows\Forms\DataGridViewHeaderCellTests.cs (9)
2280
control.
CellContextMenuStripNeeded
+= (sender, e) => callCount++;
2302
control.
CellContextMenuStripNeeded
+= (sender, e) => callCount++;
2320
control.
CellContextMenuStripNeeded
+= (sender, e) => callCount++;
2337
control.
CellContextMenuStripNeeded
+= (sender, e) => callCount++;
2365
control.
CellContextMenuStripNeeded
+= (sender, e) => callCount++;
2393
control.
CellContextMenuStripNeeded
+= handler;
2399
control.
CellContextMenuStripNeeded
-= handler;
2430
control.
CellContextMenuStripNeeded
+= handler;
2436
control.
CellContextMenuStripNeeded
-= handler;