aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Explorer
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2020-12-23 14:37:21 +0200
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2020-12-23 14:37:21 +0200
commit673094ec9200776ff0867ee74be29dff3e275294 (patch)
treef39936ff09a0e16cb5ac0f2d528a3e1eaf288517 /Software/Visual_Studio/Tango.Explorer
parent7b6ec0a4e66a4402d5ee0beb4b34b18604e28cd8 (diff)
downloadTango-673094ec9200776ff0867ee74be29dff3e275294.tar.gz
Tango-673094ec9200776ff0867ee74be29dff3e275294.zip
Added basic support for csv job.
Diffstat (limited to 'Software/Visual_Studio/Tango.Explorer')
-rw-r--r--Software/Visual_Studio/Tango.Explorer/ExplorerFileDefinition.cs7
-rw-r--r--Software/Visual_Studio/Tango.Explorer/Images/csv.pngbin0 -> 2613 bytes
-rw-r--r--Software/Visual_Studio/Tango.Explorer/Tango.Explorer.csproj3
3 files changed, 10 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.Explorer/ExplorerFileDefinition.cs b/Software/Visual_Studio/Tango.Explorer/ExplorerFileDefinition.cs
index d9c5d61e7..a1c4a05ae 100644
--- a/Software/Visual_Studio/Tango.Explorer/ExplorerFileDefinition.cs
+++ b/Software/Visual_Studio/Tango.Explorer/ExplorerFileDefinition.cs
@@ -70,6 +70,13 @@ namespace Tango.Explorer
Extension = ".tfp",
};
+ public static ExplorerFileDefinition CsvFile => new ExplorerFileDefinition()
+ {
+ Icon = ResourceHelper.GetImageFromResources("/Images/csv.png"),
+ Description = "CSV File",
+ Extension = ".csv",
+ };
+
static ExplorerFileDefinition()
{
_definitions = typeof(ExplorerFileDefinition).GetProperties(BindingFlags.Public | BindingFlags.Static).Where(x => x.PropertyType == typeof(ExplorerFileDefinition)).ToList().Select(x => x.GetValue(null, null) as ExplorerFileDefinition).ToList();
diff --git a/Software/Visual_Studio/Tango.Explorer/Images/csv.png b/Software/Visual_Studio/Tango.Explorer/Images/csv.png
new file mode 100644
index 000000000..5ff44818b
--- /dev/null
+++ b/Software/Visual_Studio/Tango.Explorer/Images/csv.png
Binary files differ
diff --git a/Software/Visual_Studio/Tango.Explorer/Tango.Explorer.csproj b/Software/Visual_Studio/Tango.Explorer/Tango.Explorer.csproj
index 5412405ef..3e791d54b 100644
--- a/Software/Visual_Studio/Tango.Explorer/Tango.Explorer.csproj
+++ b/Software/Visual_Studio/Tango.Explorer/Tango.Explorer.csproj
@@ -117,5 +117,8 @@
<ItemGroup>
<Resource Include="Images\firmware.png" />
</ItemGroup>
+ <ItemGroup>
+ <Resource Include="Images\csv.png" />
+ </ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project> \ No newline at end of file