aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Explorer
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2019-11-25 16:39:01 +0200
committerRoy Ben-Shabat <Roy@Twine-s.com>2019-11-25 16:39:01 +0200
commit78c93e2ee1eddff67554edec9f956536a0b61482 (patch)
tree208e8f9c368cfa324e255493bb287e50b79b04fa /Software/Visual_Studio/Tango.Explorer
parentca18248f6203d7567a2276ec76360aedd4cfda0b (diff)
downloadTango-78c93e2ee1eddff67554edec9f956536a0b61482.tar.gz
Tango-78c93e2ee1eddff67554edec9f956536a0b61482.zip
Working on Backup/Restore...
Diffstat (limited to 'Software/Visual_Studio/Tango.Explorer')
-rw-r--r--Software/Visual_Studio/Tango.Explorer/ExplorerFileDefinition.cs9
-rw-r--r--Software/Visual_Studio/Tango.Explorer/Images/backup.pngbin0 -> 3297 bytes
-rw-r--r--Software/Visual_Studio/Tango.Explorer/Tango.Explorer.csproj3
3 files changed, 11 insertions, 1 deletions
diff --git a/Software/Visual_Studio/Tango.Explorer/ExplorerFileDefinition.cs b/Software/Visual_Studio/Tango.Explorer/ExplorerFileDefinition.cs
index 5df1900a4..5b9fcba02 100644
--- a/Software/Visual_Studio/Tango.Explorer/ExplorerFileDefinition.cs
+++ b/Software/Visual_Studio/Tango.Explorer/ExplorerFileDefinition.cs
@@ -56,9 +56,16 @@ namespace Tango.Explorer
Extension = ".tcc",
};
+ public static ExplorerFileDefinition Backup => new ExplorerFileDefinition()
+ {
+ Icon = ResourceHelper.GetImageFromResources("/Images/backup.png"),
+ Description = "Tango Backup File",
+ Extension = ".tb",
+ };
+
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();
+ _definitions = typeof(ExplorerFileDefinition).GetProperties(BindingFlags.Public | BindingFlags.Static).Where(x => x.PropertyType == typeof(ExplorerFileDefinition)).ToList().Select(x => x.GetValue(null, null) as ExplorerFileDefinition).ToList();
}
public static ExplorerFileDefinition GetByExtension(String ext)
diff --git a/Software/Visual_Studio/Tango.Explorer/Images/backup.png b/Software/Visual_Studio/Tango.Explorer/Images/backup.png
new file mode 100644
index 000000000..fab1fdb6d
--- /dev/null
+++ b/Software/Visual_Studio/Tango.Explorer/Images/backup.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 10f3b929e..a39630940 100644
--- a/Software/Visual_Studio/Tango.Explorer/Tango.Explorer.csproj
+++ b/Software/Visual_Studio/Tango.Explorer/Tango.Explorer.csproj
@@ -111,5 +111,8 @@
<Resource Include="Images\pulse.png" />
<Resource Include="Images\update.png" />
</ItemGroup>
+ <ItemGroup>
+ <Resource Include="Images\backup.png" />
+ </ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project> \ No newline at end of file