private void showPrintForm(string dep, string createDate, string docNum, List <List <string> > data) { string path = Program.GetPathToTemplatesFolder() + "calculating balances template.docx"; docViewerForm docViewerForm = new docViewerForm(docNum, dep, createDate, data, mainForm.docTypes.balances, path); docViewerForm.ShowDialog(); }
private void showPrintForm(string dep, string createDate, string docNum, List <List <string> > data) { string path = Program.GetPathToTemplatesFolder() + "inventarization template.docx"; docViewerForm docViewerForm = new docViewerForm(docNum, dep, createDate, data, mainForm.docTypes.vedomost, path); docViewerForm.ShowDialog(); }
private void showPrintForm(string dep, string startDate, string endDate, List <List <string> > data) { string path = Program.GetPathToTemplatesFolder() + "summary accounting template.docx"; docViewerForm docViewerForm = new docViewerForm(dep, startDate, endDate, data, path); docViewerForm.ShowDialog(); }