public void Apply() { bool b = _host.DisableUndo; _host.DisableUndo = true; Control c = _host.GetUndoControl(_ctrlKey); if (c != null) { c.Size = _size; if (c.Parent != null) { ActiveDrawing.RefreshControl(c.Parent); } } _host.DisableUndo = b; }
protected LinkLineNode GetLineNode(UInt32 key) { return(_host.GetUndoControl(key) as LinkLineNode); }