58 references to Validating
System.Windows.Forms (5)
System\Windows\Forms\Control.cs (1)
8029/// Raises the <see cref="Validating"/> event.
System\Windows\Forms\Controls\ToolStrips\ToolStripControlHost.cs (2)
742control.Validating += HandleValidating; 787control.Validating -= HandleValidating;
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (2)
849add => base.Validating += value; 850remove => base.Validating -= value;
System.Windows.Forms.Design (3)
System\Windows\Forms\Design\DataGridViewAddColumnDialog.cs (1)
422_nameTextBox.Validating += nameTextBox_Validating;
System\Windows\Forms\Design\MaskDesignerDialog.cs (1)
96_txtBoxMask.Validating += txtBoxMask_Validating;
System\Windows\Forms\Design\ToolStripPanelDesigner.cs (1)
514nameof(ToolStripPanel.Validating)
System.Windows.Forms.Tests (50)
System\Windows\Forms\ContainerControlTests.cs (24)
831control.Validating += (sender, e) => validatingCallCount++; 836child1.Validating += (sender, e) => 851grandchild1.Validating += (sender, e) => 860child2.Validating += (sender, e) => 874grandchild2.Validating += (sender, e) => 888child3.Validating += (sender, e) => 902grandchild3.Validating += (sender, e) => grandchild3ValidatingCallCount++; 906child4.Validating += (sender, e) => child4ValidatingCallCount++; 910child5.Validating += (sender, e) => 924child6.Validating += (sender, e) => 938child7.Validating += (sender, e) => 952child8.Validating += (sender, e) => child8ValidatingCallCount++; 1057control.Validating += (sender, e) => validatingCallCount++; 1062child1.Validating += (sender, e) => 1077grandchild1.Validating += (sender, e) => 1086child2.Validating += (sender, e) => 1100grandchild2.Validating += (sender, e) => 1114child3.Validating += (sender, e) => 1128grandchild3.Validating += (sender, e) => grandchild3ValidatingCallCount++; 1132child4.Validating += (sender, e) => child4ValidatingCallCount++; 1136child5.Validating += (sender, e) => 1150child6.Validating += (sender, e) => 1164child7.Validating += (sender, e) => 1178child8.Validating += (sender, e) => child8ValidatingCallCount++;
System\Windows\Forms\ControlTests.Handlers.cs (2)
5526control.Validating += handler; 5531control.Validating -= handler;
System\Windows\Forms\UserControlTests.cs (24)
1297control.Validating += (sender, e) => validatingCallCount++; 1302child1.Validating += (sender, e) => 1317grandchild1.Validating += (sender, e) => 1326child2.Validating += (sender, e) => 1340grandchild2.Validating += (sender, e) => 1354child3.Validating += (sender, e) => 1368grandchild3.Validating += (sender, e) => grandchild3ValidatingCallCount++; 1372child4.Validating += (sender, e) => child4ValidatingCallCount++; 1376child5.Validating += (sender, e) => 1390child6.Validating += (sender, e) => 1404child7.Validating += (sender, e) => 1418child8.Validating += (sender, e) => child8ValidatingCallCount++; 1523control.Validating += (sender, e) => validatingCallCount++; 1528child1.Validating += (sender, e) => 1543grandchild1.Validating += (sender, e) => 1552child2.Validating += (sender, e) => 1566grandchild2.Validating += (sender, e) => 1580child3.Validating += (sender, e) => 1594grandchild3.Validating += (sender, e) => grandchild3ValidatingCallCount++; 1598child4.Validating += (sender, e) => child4ValidatingCallCount++; 1602child5.Validating += (sender, e) => 1616child6.Validating += (sender, e) => 1630child7.Validating += (sender, e) => 1644child8.Validating += (sender, e) => child8ValidatingCallCount++;