diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-04-11 19:40:25 +0300 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-04-11 19:40:25 +0300 |
| commit | e3cd087cbe1b6c62df2beac4f6351bc20013726c (patch) | |
| tree | 0be80f9892fe1f10f6b50cd38d5e6a5811d20a7e /Software/Visual_Studio/Scripting/Tango.Scripting.IDE/ProjectItems/CSharpScriptItem.cs | |
| parent | 2aa2afca5b09d465e8bf683af232cfe366abf7d4 (diff) | |
| parent | 3c6ab0ddb3f0ae70f4a30b7899b256a703d9a50b (diff) | |
| download | Tango-e3cd087cbe1b6c62df2beac4f6351bc20013726c.tar.gz Tango-e3cd087cbe1b6c62df2beac4f6351bc20013726c.zip | |
Merge branch 'master' of https://twinetfs.visualstudio.com/_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.cs | 34 |
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() + { + + } } } |
