private void Excel_Click(object sender, EventArgs e) { SaveFileDialog fileDialog = new SaveFileDialog { AddExtension = true, DefaultExt = ".xlsx", Filter = @"Office Files|*.xlsx" }; if (fileDialog.ShowDialog() == DialogResult.OK) { ExcelMaker excelMaker = new ExcelMaker(fileDialog.FileName); excelMaker.ExportDailyData(Statement); } }
private void makeExcel() { ExcelMaker.MakeExcelFromLV(listView1, "Молодняк"); }
private void makeExcel() { ExcelMaker.MakeExcelFromLV(listView1, "Поголовье"); }
public void DownloadReport(string fileName) { IEnumerable <RouteMark> rmList = LoadRouteMarkList(); ExcelMaker.CreateFile(rmList, fileName); }
private void makeExcel() { ExcelMaker.MakeExcelFromLV(lvMeat, "Продукция"); }
private void makeExcel() { ExcelMaker.MakeExcelFromLV(listView1, "Строения"); }
/// <summary> /// Делает выгрузку в EXCEL /// </summary> private void tbExcel_Click(object sender, EventArgs e) { ExcelMaker.MakeExcelFromXML(_xmls, _repName, _xclHeaders); }
private void makeExcel() { ExcelMaker.MakeExcelFromLV(lvZooTech, "Зоотехплан"); }