private void setMarkerToList(int pos) { // By default a single new marker is set, replacing the old one. if (!Settings.MultiMarking) { CustomLines.Clear(); } CustomLines.AddLast(pos); }
private void conClearCustomMarker_Click(object sender, EventArgs e) { CustomLines.Clear(); this.Invalidate(); }