test/TestMenu/TestMenu/ActionShowMessage.cs
changeset 19 225dba4c261a
child 38 fe84b5081ba2
equal deleted inserted replaced
18:600c47d2d863 19:225dba4c261a
       
     1 using System;
       
     2 using System.Collections.Generic;
       
     3 using System.Linq;
       
     4 using System.Text;
       
     5 using System.Windows;
       
     6 using System.Windows.Controls;
       
     7 using System.Windows.Data;
       
     8 using System.Windows.Documents;
       
     9 using System.Windows.Input;
       
    10 using System.Windows.Media;
       
    11 using System.Windows.Media.Imaging;
       
    12 using System.Windows.Shapes;
       
    13 using System.Windows.Threading;
       
    14 using Microsoft.Surface;
       
    15 using Microsoft.Surface.Presentation;
       
    16 using Microsoft.Surface.Presentation.Controls;
       
    17 
       
    18 namespace TestMenu
       
    19 {
       
    20     class ActionShowMessage : ActionBase
       
    21     {
       
    22         string _Text = "";
       
    23 
       
    24         public ActionShowMessage(string text)
       
    25         {
       
    26             _Text = text;
       
    27         }
       
    28 
       
    29         public void Execute()
       
    30         {
       
    31             MessageBox.Show(_Text);
       
    32         }
       
    33     }
       
    34 }