//if user doesn't touch the platform after pressing "finish", sometimes it gets waiting a Read_event //now the event finishes ok, and next will be ok // //not for multiChronopic: private void checkFinishTotally(object o, EventArgs args) { if(currentEventExecute.TotallyFinished) LogB.Information("totallyFinished"); else { LogB.Information("NOT-totallyFinished "); errorWin = ErrorWindow.Show(Catalog.GetString("Please, touch the contact platform for full finishing.") + "\n" + Catalog.GetString("Then press Accept") + "\n"); errorWin.Button_accept.Clicked -= new EventHandler(checkFinishTotally); errorWin.Button_accept.Clicked += new EventHandler(checkFinishTotally); //abort test when there are problems with USB disconnected errorWin.Show_button_abort(); errorWin.Button_abort.Clicked += new EventHandler(abortTest); } }