Example #1
0
        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);
            }
        }
Example #2
0
 private void makeExcel()
 {
     ExcelMaker.MakeExcelFromLV(listView1, "Молодняк");
 }
Example #3
0
 private void makeExcel()
 {
     ExcelMaker.MakeExcelFromLV(listView1, "Поголовье");
 }
Example #4
0
        public void DownloadReport(string fileName)
        {
            IEnumerable <RouteMark> rmList = LoadRouteMarkList();

            ExcelMaker.CreateFile(rmList, fileName);
        }
Example #5
0
 private void makeExcel()
 {
     ExcelMaker.MakeExcelFromLV(lvMeat, "Продукция");
 }
Example #6
0
 private void makeExcel()
 {
     ExcelMaker.MakeExcelFromLV(listView1, "Строения");
 }
Example #7
0
 /// <summary>
 /// Делает выгрузку в EXCEL
 /// </summary>
 private void tbExcel_Click(object sender, EventArgs e)
 {
     ExcelMaker.MakeExcelFromXML(_xmls, _repName, _xclHeaders);
 }
Example #8
0
 private void makeExcel()
 {
     ExcelMaker.MakeExcelFromLV(lvZooTech, "Зоотехплан");
 }