Exemple #1
0
 public void StopServer()
 {
     TestingHttpServer.StopServer();
     _provider.ScoreChanged   -= new EventHandler <EventArgs>(_provider_ScoreChanged);
     _provider.StateChanged   -= new EventHandler <EventArgs>(_provider_StateChanged);
     _provider.TimeChanged    -= new EventHandler <EventArgs>(_provider_TimeChanged);
     _provider.WarningMessage -= new EventHandler <EventArgs>(_provider_WarningMessage);
     timer.Stop();
 }
Exemple #2
0
 private void AppealForm_FormClosed(object sender, FormClosedEventArgs e)
 {
     TestingHttpServer.StopServer();
 }
Exemple #3
0
 private void TestContentForm_FormClosing(object sender, FormClosingEventArgs e)
 {
     TestingHttpServer.StopServer();
 }