diff options
| author | Victoria Plitt <Victoria.Plitt@twine-s.com> | 2019-04-11 16:07:21 +0300 |
|---|---|---|
| committer | Victoria Plitt <Victoria.Plitt@twine-s.com> | 2019-04-11 16:07:21 +0300 |
| commit | b41347f1528e5e34d8c8c8ef2c5b6b63876098f1 (patch) | |
| tree | 79f83df85407f02bad7b025030c7c79a3aca1439 /Software/Visual_Studio/Scripting/Tango.Scripting.IDE/ProjectItems/CSharpScriptItem.cs | |
| parent | 50672cf57739bac3c0ddefcd40563d0fbed3db80 (diff) | |
| download | Tango-b41347f1528e5e34d8c8c8ef2c5b6b63876098f1.tar.gz Tango-b41347f1528e5e34d8c8c8ef2c5b6b63876098f1.zip | |
added icons to menu, solution for setting icons dynamically to context menu
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 | 10 |
1 files changed, 5 insertions, 5 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 e53f90ef3..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 @@ -31,11 +31,11 @@ namespace Tango.Scripting.IDE.ProjectItems { Commands = new System.Collections.ObjectModel.ObservableCollection<ISolutionItemCommand>() { - new SolutionItemCommand(Open) { Name = "Open" }, + 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" }, - new SolutionItemCommand(CopyItem) { Name = "Delete" }, - new SolutionItemCommand(RenameItem) { Name = "Rename" } + 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") } }; } |
