diff -r fc7c12f9da30 -r 923687896770 src/FingersDance/MainSurfaceWindow.xaml.cs --- a/src/FingersDance/MainSurfaceWindow.xaml.cs Tue Oct 13 10:43:39 2009 +0200 +++ b/src/FingersDance/MainSurfaceWindow.xaml.cs Tue Oct 13 11:53:15 2009 +0200 @@ -392,12 +392,12 @@ } //Actions du boutton Alert selon l'action close OK ou NON - private void CloseAlert_EH_SurfaceButton_ContactDown(object sender, EventArgs e) + private void CloseAlert_EH_SurfaceButton_ContactDown(object sender, ConfirmEventArgs e) { Grid root = (Grid)(((UserControlClose)sender).Parent); - if(((UserControlClose) sender).close) + if(e.Confirmed==true) { - switch(((UserControlClose)sender).Id) + switch(e.PanelNumber) { case 1: root.Children.Remove(Panel1);