1 write to _host
System.Windows.Forms.Design (1)
System\ComponentModel\Design\UndoEngine.cs (1)
44_host = GetRequiredService<IDesignerHost>();
11 references to _host
System.Windows.Forms.Design (11)
System\ComponentModel\Design\UndoEngine.cs (9)
49_host.TransactionOpening += OnTransactionOpening; 50_host.TransactionClosed += OnTransactionClosed; 157if (reason != PopUnitReason.Normal || !_host.InTransaction) 232_host.TransactionOpening -= OnTransactionOpening; 233_host.TransactionClosed -= OnTransactionClosed; 442if (Enabled && _host is not null && _host.Container is not null && ComponentChangeService is not null) 445foreach (IComponent comp in _host.Container.Components) 529_unitStack.Push(CreateUndoUnit(_host.TransactionDescription, _unitStack.Count == 0));
System\ComponentModel\Design\UndoEngine.UndoUnit.cs (1)
386transaction = UndoEngine._host.CreateTransaction();
System\ComponentModel\Design\UndoEngine.UndoUnit.RenameUndoEvent.cs (1)
29IComponent? comp = engine._host.Container.Components[_after];