7 references to GetName
System.Windows.Forms.Design (7)
System\ComponentModel\Design\UndoEngine.cs (4)
338
name = string.Format(SR.UndoEngineComponentAdd1,
GetName
(e.Component, true));
382
name = string.Format(SR.UndoEngineComponentChange1,
GetName
(e.Component, true));
386
name = string.Format(SR.UndoEngineComponentChange2,
GetName
(e.Component, true), e.Member.Name);
430
name = string.Format(SR.UndoEngineComponentRemove1,
GetName
(e.Component, true));
System\ComponentModel\Design\UndoEngine.UndoUnit.ChangeUndoEvent.cs (1)
30
_componentName = engine.
GetName
(e.Component, true)!;
System\ComponentModel\Design\UndoEngine.UndoUnit.cs (2)
208
if (UndoEngine.
GetName
(e.Component, false) is not null)
228
string? name = UndoEngine.
GetName
(e.Component, false);