aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Scripting/Tango.Scripting.IDE/ProjectItems/CSharpScriptItem.cs
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2019-04-14 11:29:34 +0300
committerShlomo Hecht <shlomo@twine-s.com>2019-04-14 11:29:34 +0300
commite8c5d02db6b9a92b1ff378c1606b6cef6ce69141 (patch)
tree031716dd1e4ce96b23334573d3773c43d1f1bb70 /Software/Visual_Studio/Scripting/Tango.Scripting.IDE/ProjectItems/CSharpScriptItem.cs
parent987aa1e6a68a68a9251e59402d52f08eb2a6b198 (diff)
parent641171e30368056bd97fd53c8dade56889739bc3 (diff)
downloadTango-e8c5d02db6b9a92b1ff378c1606b6cef6ce69141.tar.gz
Tango-e8c5d02db6b9a92b1ff378c1606b6cef6ce69141.zip
Merge branch 'master' of https://twinetfs.visualstudio.com/Tango/_git/Tango
Diffstat (limited to 'Software/Visual_Studio/Scripting/Tango.Scripting.IDE/ProjectItems/CSharpScriptItem.cs')
-rw-r--r--Software/Visual_Studio/Scripting/Tango.Scripting.IDE/ProjectItems/CSharpScriptItem.cs34
1 files changed, 33 insertions, 1 deletions
diff --git a/Software/Visual_Studio/Scripting/Tango.Scripting.IDE/ProjectItems/CSharpScriptItem.cs b/Software/Visual_Studio/Scripting/Tango.Scripting.IDE/ProjectItems/CSharpScriptItem.cs
index cf4811047..0fe375a1f 100644
--- a/Software/Visual_Studio/Scripting/Tango.Scripting.IDE/ProjectItems/CSharpScriptItem.cs
+++ b/Software/Visual_Studio/Scripting/Tango.Scripting.IDE/ProjectItems/CSharpScriptItem.cs
@@ -11,7 +11,7 @@ namespace Tango.Scripting.IDE.ProjectItems
{
public class CSharpScriptItem : ProjectItem
{
- public override BitmapSource Image => GetImage("Images/CSharpScriptItem.png");
+ public override BitmapSource Image => GetImage("Images/hashtag.png");
private String _code;
public String Code
@@ -26,5 +26,37 @@ namespace Tango.Scripting.IDE.ProjectItems
{
return new CSharpScriptItemView(this);
}
+
+ public CSharpScriptItem() : base()
+ {
+ Commands = new System.Collections.ObjectModel.ObservableCollection<ISolutionItemCommand>()
+ {
+ new SolutionItemCommand(Open) { Name = "Open" , Image = GetImage(@"Images/Open_16x.png")},
+ new SolutionItemCommand(CutItem) { Name = "Cut" , Image = GetImage(@"Images/Cut_16xSM.png")},
+ new SolutionItemCommand(CopyItem) { Name = "Copy" , Image = GetImage(@"Images/copy_16x.png")},
+ new SolutionItemCommand(CopyItem) { Name = "Delete" , Image = GetImage(@"Images/deletered_16.png")},
+ new SolutionItemCommand(RenameItem) { Name = "Rename", Image = GetImage(@"Images/Rename_16x.png") }
+ };
+ }
+
+ private void Open(object obj)
+ {
+
+ }
+
+ private void RenameItem(object obj)
+ {
+
+ }
+
+ private void CutItem(object obj)
+ {
+
+ }
+
+ private void CopyItem()
+ {
+
+ }
}
}