public override void Click() { IMapControl mapControl = (_hook as IHookOfAgileMap).MapControl; IOperationStack oprStack = mapControl.OperationStack; oprStack.Undo(); }
void OnSketchModified() { if (IsHighwaysEditValid) { SetErrorLabel(""); } else { m_operationStack.Undo(); SetErrorLabel("Invalid Edit"); } }