diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-05-01 15:37:36 +0300 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-05-01 15:37:36 +0300 |
| commit | 4eee351d5c4c7465bd1449f21a481bfab96b6bf7 (patch) | |
| tree | 2e024259b863815615c357951567f9a7c24e347e /Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Console/CodeTemplate.cs | |
| parent | 47fad304ebc8f056f1c5ffcde037c66029fc80c9 (diff) | |
| download | Tango-4eee351d5c4c7465bd1449f21a481bfab96b6bf7.tar.gz Tango-4eee351d5c4c7465bd1449f21a481bfab96b6bf7.zip | |
Started working on developer console.
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.cs | 23 |
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!"); + + }); +} + |
