private void OnMaxLines(object sender, EventArgs args) { Location.MoveToNewFile(); TextWriter.ChangeFile(Location.FilePath); }