Ejemplo n.º 1
0
 protected override void DisposeManagedResources()
 {
     ClearPlayers();
     homeBench.Dispose();
     awayBench.Dispose();
     field.Dispose();
     subPlayers.Dispose();
     subInjury.Dispose();
     homeButton.Dispose();
     awayButton.Dispose();
     base.DisposeManagedResources();
 }
Ejemplo n.º 2
0
 protected override void Dispose(bool disposing)
 {
     ClearPlayers();
     homeBench.Dispose();
     awayBench.Dispose();
     field.Dispose();
     subPlayers.Dispose();
     subInjury.Dispose();
     homeButton.Dispose();
     awayButton.Dispose();
     base.Dispose(disposing);
 }