aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Console/CodeTemplate.cs
diff options
context:
space:
mode:
authorAvi Levkovich <avi@twine-s.com>2018-05-06 09:19:00 +0300
committerAvi Levkovich <avi@twine-s.com>2018-05-06 09:19:00 +0300
commitffe713f1081123ee6e9b24193b5d28f058ed7d38 (patch)
tree601a3a15dfdbd2d46b36e3d41b771b23d074fd5d /Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Console/CodeTemplate.cs
parent1259efb89a2bbb17b7b1d42762737aa2c79fa020 (diff)
parentfef42b802216997a4970f8ed25fcde766327955c (diff)
downloadTango-ffe713f1081123ee6e9b24193b5d28f058ed7d38.tar.gz
Tango-ffe713f1081123ee6e9b24193b5d28f058ed7d38.zip
integration chsanges
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Console/CodeTemplate.cs')
-rw-r--r--Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Console/CodeTemplate.cs23
1 files changed, 23 insertions, 0 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Console/CodeTemplate.cs b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Console/CodeTemplate.cs
new file mode 100644
index 000000000..4b307051f
--- /dev/null
+++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Console/CodeTemplate.cs
@@ -0,0 +1,23 @@
+using System;
+using System.Text;
+using System.Linq;
+using System.Drawing;
+using System.Diagnostics;
+using System.Windows.Forms;
+using System.Threading;
+using System.Threading.Tasks;
+using System.Collections.Generic;
+using Tango.MachineStudio.Common.Notifications;
+using Tango.MachineStudio.UI.Console;
+
+public void OnExecute(ConsoleManager manager)
+{
+ manager.InvokeUI(() =>
+ {
+
+ var notification = manager.TangoIOC.GetInstance<INotificationProvider>();
+ notification.ShowInfo("Hello world!");
+
+ });
+}
+