4 references to GetNameForControl
System.Windows.Forms (4)
System\Windows\Forms\ActiveX\AxHost.AxContainer.cs (2)
62
if (
GetNameForControl
(control).Equals(name))
131
throw new ArgumentException(string.Format(SR.AXDuplicateControl,
GetNameForControl
(control)), nameof(control));
System\Windows\Forms\ActiveX\AxHost.AxContainer.ExtenderProxy.cs (1)
261
public BSTR Name => new(GetControl() is { } control ?
GetNameForControl
(control) : string.Empty);
System\Windows\Forms\ActiveX\AxHost.cs (1)
2117
return AxContainer.
GetNameForControl
(this) ?? string.Empty;