private void EhMinorTicksValidating(string txt, CancelEventArgs e) { if (GUIConversion.IsInt32OrNull(txt, out var val)) { _doc.MinorTicks = val; } else { e.Cancel = true; } }
private void EhMajorSpanValidating(string txt, CancelEventArgs e) { if (GUIConversion.IsInt32OrNull(txt, out var val)) { _doc.DecadesPerMajorTick = val; } else { e.Cancel = true; } }