Renamed ExportBomToExcel to BomToExcel
This commit is contained in:
@@ -5,7 +5,7 @@ using System.IO;
|
|||||||
|
|
||||||
namespace ExportDXF
|
namespace ExportDXF
|
||||||
{
|
{
|
||||||
public class ExportBomToExcel
|
public class BomToExcel
|
||||||
{
|
{
|
||||||
public string TemplatePath
|
public string TemplatePath
|
||||||
{
|
{
|
||||||
@@ -92,7 +92,7 @@
|
|||||||
<Compile Include="BendOrientation.cs" />
|
<Compile Include="BendOrientation.cs" />
|
||||||
<Compile Include="Bounds.cs" />
|
<Compile Include="Bounds.cs" />
|
||||||
<Compile Include="DrawingInfo.cs" />
|
<Compile Include="DrawingInfo.cs" />
|
||||||
<Compile Include="ExportBomToExcel.cs" />
|
<Compile Include="BomToExcel.cs" />
|
||||||
<Compile Include="Extensions.cs" />
|
<Compile Include="Extensions.cs" />
|
||||||
<Compile Include="ItemExtractor.cs" />
|
<Compile Include="ItemExtractor.cs" />
|
||||||
<Compile Include="Forms\ViewFlipDeciderComboboxItem.cs" />
|
<Compile Include="Forms\ViewFlipDeciderComboboxItem.cs" />
|
||||||
|
|||||||
@@ -424,7 +424,7 @@ namespace ExportDXF.Forms
|
|||||||
var bomName = drawingInfo != null ? string.Format("{0} {1} BOM", drawingInfo.JobNo, drawingInfo.DrawingNo) : "BOM";
|
var bomName = drawingInfo != null ? string.Format("{0} {1} BOM", drawingInfo.JobNo, drawingInfo.DrawingNo) : "BOM";
|
||||||
var bomFile = Path.Combine(savePath, bomName + ".xlsx");
|
var bomFile = Path.Combine(savePath, bomName + ".xlsx");
|
||||||
|
|
||||||
var excelReport = new ExportBomToExcel();
|
var excelReport = new BomToExcel();
|
||||||
excelReport.CreateBOMExcelFile(bomFile, items.ToList());
|
excelReport.CreateBOMExcelFile(bomFile, items.ToList());
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
|
|||||||
Reference in New Issue
Block a user