protected override void OnShapeCommitting() { for (int i = 0; i < this.moveNubs.Length; ++i) { this.moveNubs[i].Visible = false; } this.inCurveMode = false; this.curveType = CurveType.NotDecided; this.Cursor = this.lineToolCursor; this.draggingNubIndex = -1; DocumentWorkspace.UpdateStatusBarToToolHelpText(); }