src/FingersDance.Control.SessionInput/UserControlSessionInput.xaml.cs
changeset 73 bda95242e600
parent 72 f1ca0958c992
child 143 9f157d9c725b
equal deleted inserted replaced
72:f1ca0958c992 73:bda95242e600
    10 
    10 
    11 namespace FingersDance.Control.SessionInput
    11 namespace FingersDance.Control.SessionInput
    12 {
    12 {
    13 	public partial class UserControlSessionInput
    13 	public partial class UserControlSessionInput
    14 	{
    14 	{
       
    15         public event EventHandler EH_SurfaceButtonSubmit_ContactDown;
       
    16 
    15 		public UserControlSessionInput()
    17 		public UserControlSessionInput()
    16 		{
    18 		{
    17 			this.InitializeComponent();
    19 			this.InitializeComponent();
    18 
    20 
    19 			// Insert code required on object creation below this point.
    21 			// Insert code required on object creation below this point.
    20 		}
    22 		}
    21 
    23 
    22         private void SurfaceButton_ContactDown(object sender, Microsoft.Surface.Presentation.ContactEventArgs e)
    24         private void SurfaceButtonSubmit_ContactDown(object sender, Microsoft.Surface.Presentation.ContactEventArgs e)
    23         {
    25         {
    24             
    26             if (EH_SurfaceButtonSubmit_ContactDown != null)
       
    27                 EH_SurfaceButtonSubmit_ContactDown(this, new EventArgs());
    25         }
    28         }
       
    29 
       
    30         private void SurfaceButtonSubmit_Click(object sender, RoutedEventArgs e)
       
    31         {
       
    32             if (EH_SurfaceButtonSubmit_ContactDown != null)
       
    33                 EH_SurfaceButtonSubmit_ContactDown(this, new EventArgs());
       
    34         }
       
    35 
    26 	}
    36 	}
    27 }
    37 }