internal void getFileInfo(bool pinion, ref WorkFileInfo fi) { fi.directory = labelDirectory.Text; fi.fileName = makeFileName(pinion, false); fi.toothFileName = makeFileName(pinion, true); fi.fileFormat = comboFileFormat.Text == "svg" ? FileFormat.svg : FileFormat.gCode; }