public string Print(string path) { return(patterns.Print(path)); }
void CreatePDF_Clicked(object sender, EventArgs e) { DisplayDialog("PDF path", patternRenderer.Print(pathForFiles)); }