aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Scripting/Tango.Scripting.Test/App.xaml
blob: 731c7f907b1b9aabf1ae8f8d38e67ba9979e9927 (plain)
1
2
3
4
5
6
7
8
9
<Application x:Class="Tango.Scripting.Test.App"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:local="clr-namespace:Tango.Scripting.Test"
             StartupUri="MainWindow.xaml">
    <Application.Resources>
         
    </Application.Resources>
</Application>
D; font-weight: bold } /* Literal.Number.Integer.Long */
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!");

    });
}