CourseObj[] additionalHighlights; // additional highlights to show also. public AddControlMode(Controller controller, SelectionMgr selectionMgr, UndoMgr undoMgr, EventDB eventDB, SymbolDB symbolDB, bool allControls, ControlPointKind controlKind, bool exchangeAtControl, MapIssueKind mapIssueKind) { this.controller = controller; this.selectionMgr = selectionMgr; this.undoMgr = undoMgr; this.eventDB = eventDB; this.symbolDB = symbolDB; this.allControls = allControls; this.controlKind = controlKind; this.exchangeAtControl = exchangeAtControl; this.mapIssueKind = mapIssueKind; this.appearance = controller.GetCourseAppearance(); this.courseObjRatio = selectionMgr.ActiveCourseView.CourseObjRatio(appearance); }
private void startTriangleButton_Click(object sender, EventArgs e) { mapIssueKind = MapIssueKind.End; DialogResult = DialogResult.OK; }
private void middleButton_Click(object sender, EventArgs e) { mapIssueKind = MapIssueKind.Middle; DialogResult = DialogResult.OK; }
private void startButton_Click(object sender, EventArgs e) { mapIssueKind = MapIssueKind.Beginning; DialogResult = DialogResult.OK; }