aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Editors
diff options
context:
space:
mode:
authorRoy <roy.mail.net@gmail.com>2018-02-11 14:55:39 +0200
committerRoy <roy.mail.net@gmail.com>2018-02-11 14:55:39 +0200
commit1dd0d4988fb99109765b956adc6a371f5cb036e0 (patch)
tree52ccf7950af6039821b1be30005c23bc75083a78 /Software/Visual_Studio/Tango.Editors
parentf736578b2c843d0cb23948e088379c3a3c3b12e7 (diff)
downloadTango-1dd0d4988fb99109765b956adc6a371f5cb036e0.tar.gz
Tango-1dd0d4988fb99109765b956adc6a371f5cb036e0.zip
More work on technician view...
Added auto loading of last project. Added IShutdownListener interface. Added TechName to Tech Items. Fixed issue with tech name of IO port.
Diffstat (limited to 'Software/Visual_Studio/Tango.Editors')
-rw-r--r--Software/Visual_Studio/Tango.Editors/RelayCommand.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.Editors/RelayCommand.cs b/Software/Visual_Studio/Tango.Editors/RelayCommand.cs
index ce5a7d563..6042fad93 100644
--- a/Software/Visual_Studio/Tango.Editors/RelayCommand.cs
+++ b/Software/Visual_Studio/Tango.Editors/RelayCommand.cs
@@ -17,6 +17,7 @@ namespace Tango.Editors
#region fields
readonly Predicate<object> canExecute;
readonly Action<object> execute;
+ private Action<string> saveProject;
#endregion fields
#region constructors
@@ -40,6 +41,11 @@ namespace Tango.Editors
}
+ public RelayCommand(Action<string> saveProject)
+ {
+ this.saveProject = saveProject;
+ }
+
#endregion constructors
#region methods