diff -r f1ca0958c992 -r bda95242e600 src/FingersDance.Control.SessionInput/UserControlSessionInput.xaml.cs --- a/src/FingersDance.Control.SessionInput/UserControlSessionInput.xaml.cs Thu Sep 17 08:31:15 2009 +0200 +++ b/src/FingersDance.Control.SessionInput/UserControlSessionInput.xaml.cs Thu Sep 17 12:53:22 2009 +0200 @@ -12,6 +12,8 @@ { public partial class UserControlSessionInput { + public event EventHandler EH_SurfaceButtonSubmit_ContactDown; + public UserControlSessionInput() { this.InitializeComponent(); @@ -19,9 +21,17 @@ // Insert code required on object creation below this point. } - private void SurfaceButton_ContactDown(object sender, Microsoft.Surface.Presentation.ContactEventArgs e) + private void SurfaceButtonSubmit_ContactDown(object sender, Microsoft.Surface.Presentation.ContactEventArgs e) { - + if (EH_SurfaceButtonSubmit_ContactDown != null) + EH_SurfaceButtonSubmit_ContactDown(this, new EventArgs()); } + + private void SurfaceButtonSubmit_Click(object sender, RoutedEventArgs e) + { + if (EH_SurfaceButtonSubmit_ContactDown != null) + EH_SurfaceButtonSubmit_ContactDown(this, new EventArgs()); + } + } } \ No newline at end of file