public static void DocRepopt(List<Product> products, double[] result) { SaveFileDialog sfd = new SaveFileDialog(); sfd.Filter = "Тесктовый документ|*.docx"; sfd.Title = "Сохранить как текстовый документ"; sfd.ShowDialog(); string fileName = sfd.FileName; Extraction ex = new Extraction(); ex.printinword(result, fileName,products); }
public static void DocRepopt(List <Product> products, double[] result) { SaveFileDialog sfd = new SaveFileDialog(); sfd.Filter = "Тесктовый документ|*.docx"; sfd.Title = "Сохранить как текстовый документ"; sfd.ShowDialog(); string fileName = sfd.FileName; Extraction ex = new Extraction(); ex.printinword(result, fileName, products); }