Skip to content

Commit 24fab58

Browse files
authored
Merge pull request #131 from SyncfusionExamples/HelpbotChanges
HelpbotChanges
2 parents df81917 + 0aa3969 commit 24fab58

File tree

603 files changed

+2003
-1650
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

603 files changed

+2003
-1650
lines changed

CSV to Excel/CSV to Excel/.NET/CSV to Excel/CSV to Excel/CSV to Excel.csproj

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
@@ -12,4 +12,11 @@
1212
<PackageReference Include="Syncfusion.XlsIO.Net.Core" Version="*" />
1313
</ItemGroup>
1414

15+
<ItemGroup>
16+
<None Update="Data\*">
17+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
18+
</None>
19+
</ItemGroup>
20+
1521
</Project>
22+

CSV to Excel/CSV to Excel/.NET/CSV to Excel/CSV to Excel/Output/.gitkeep

Whitespace-only changes.

CSV to Excel/CSV to Excel/.NET/CSV to Excel/CSV to Excel/Program.cs

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public static void Main(string[] args)
1010
{
1111
IApplication application = excelEngine.Excel;
1212
application.DefaultVersion = ExcelVersion.Xlsx;
13-
FileStream inputStream = new FileStream("../../../Data/InputTemplate.csv", FileMode.Open, FileAccess.Read);
13+
FileStream inputStream = new FileStream(Path.GetFullPath(@"Data/InputTemplate.csv"), FileMode.Open, FileAccess.Read);
1414

1515
//Open the CSV file
1616
IWorkbook workbook = application.Workbooks.Open(inputStream, ",");
@@ -23,14 +23,7 @@ public static void Main(string[] args)
2323
//Dispose streams
2424
outputStream.Dispose();
2525
inputStream.Dispose();
26-
27-
System.Diagnostics.Process process = new System.Diagnostics.Process();
28-
process.StartInfo = new System.Diagnostics.ProcessStartInfo("Output.xlsx")
29-
{
30-
UseShellExecute = true
31-
};
32-
process.Start();
3326
}
3427
}
3528
}
36-
}
29+
}

Chart to Image/Chart to Image/.NET/Chart to Image/Chart to Image/Chart to Image.csproj

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
@@ -10,4 +10,11 @@
1010
<PackageReference Include="Syncfusion.XlsIORenderer.NET" Version="*" />
1111
</ItemGroup>
1212

13+
<ItemGroup>
14+
<None Update="Data\*">
15+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
16+
</None>
17+
</ItemGroup>
18+
1319
</Project>
20+

Chart to Image/Chart to Image/.NET/Chart to Image/Chart to Image/Output/.gitkeep

Whitespace-only changes.

Chart to Image/Chart to Image/.NET/Chart to Image/Chart to Image/Program.cs

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ static void Main(string[] args)
1919
//Set converter chart image format to PNG
2020
application.XlsIORenderer.ChartRenderingOptions.ImageFormat = ExportImageFormat.Png;
2121

22-
FileStream inputStream = new FileStream("../../../Data/InputTemplate.xlsx", FileMode.Open, FileAccess.Read);
22+
FileStream inputStream = new FileStream(Path.GetFullPath(@"Data/InputTemplate.xlsx"), FileMode.Open, FileAccess.Read);
2323
IWorkbook workbook = application.Workbooks.Open(inputStream);
2424
IWorksheet worksheet = workbook.Worksheets[0];
2525

@@ -34,14 +34,8 @@ static void Main(string[] args)
3434
//Dispose streams
3535
outputStream.Dispose();
3636
inputStream.Dispose();
37-
38-
System.Diagnostics.Process process = new System.Diagnostics.Process();
39-
process.StartInfo = new System.Diagnostics.ProcessStartInfo("Image.png")
40-
{
41-
UseShellExecute = true
42-
};
43-
process.Start();
4437
}
4538
}
4639
}
4740
}
41+

Conditional Formatting/Above and Below Average/.NET/Above and Below Average/Above and Below Average/Above and Below Average.csproj

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
@@ -10,4 +10,11 @@
1010
<PackageReference Include="Syncfusion.XlsIO.NET" Version="*" />
1111
</ItemGroup>
1212

13+
<ItemGroup>
14+
<None Update="Data\*">
15+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
16+
</None>
17+
</ItemGroup>
18+
1319
</Project>
20+

Conditional Formatting/Above and Below Average/.NET/Above and Below Average/Above and Below Average/Output/.gitkeep

Whitespace-only changes.

Conditional Formatting/Above and Below Average/.NET/Above and Below Average/Above and Below Average/Program.cs

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ static void Main(string[] args)
1111
{
1212
IApplication application = excelEngine.Excel;
1313
application.DefaultVersion = ExcelVersion.Xlsx;
14-
FileStream inputStream = new FileStream("../../../Data/InputTemplate.xlsx", FileMode.Open, FileAccess.Read);
14+
FileStream inputStream = new FileStream(Path.GetFullPath(@"Data/InputTemplate.xlsx"), FileMode.Open, FileAccess.Read);
1515
IWorkbook workbook = application.Workbooks.Open(inputStream);
1616
IWorksheet worksheet = workbook.Worksheets[0];
1717

@@ -39,14 +39,8 @@ static void Main(string[] args)
3939
//Dispose streams
4040
outputStream.Dispose();
4141
inputStream.Dispose();
42-
43-
System.Diagnostics.Process process = new System.Diagnostics.Process();
44-
process.StartInfo = new System.Diagnostics.ProcessStartInfo("AboveAndBelowAverage.xlsx")
45-
{
46-
UseShellExecute = true
47-
};
48-
process.Start();
4942
}
5043
}
5144
}
5245
}
46+

Conditional Formatting/Above and Below Standard Deviation/.NET/Above and Below Standard Deviation/Above and Below Standard Deviation/Above and Below Standard Deviation.csproj

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
@@ -10,4 +10,11 @@
1010
<PackageReference Include="Syncfusion.XlsIO.NET" Version="*" />
1111
</ItemGroup>
1212

13+
<ItemGroup>
14+
<None Update="Data\*">
15+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
16+
</None>
17+
</ItemGroup>
18+
1319
</Project>
20+

0 commit comments

Comments
 (0)