2 writes to OpenComponent
System.Windows.Forms.Design (2)
System\ComponentModel\Design\UndoEngine.UndoUnit.ChangeUndoEvent.cs (2)
31
OpenComponent
= e.Component;
104
OpenComponent
= null;
5 references to OpenComponent
System.Windows.Forms.Design (5)
System\ComponentModel\Design\UndoEngine.UndoUnit.ChangeUndoEvent.cs (4)
36
_before = Serialize(engine,
OpenComponent
!, _member);
40
public ComponentChangingEventArgs ComponentChangingEventArgs => new(
OpenComponent
, _member);
55
[MemberNotNullWhen(false, nameof(
OpenComponent
))]
56
public bool Committed =>
OpenComponent
is null;
System\ComponentModel\Design\UndoEngine.UndoUnit.cs (1)
217
if (ce.
OpenComponent
== e.Component && ce.ContainsChange(e.Member))