protected override void DisposeManagedResources()
 {
     ClearPlayers();
     homeBench.Dispose();
     awayBench.Dispose();
     field.Dispose();
     subPlayers.Dispose();
     subInjury.Dispose();
     homeButton.Dispose();
     awayButton.Dispose();
     base.DisposeManagedResources();
 }
示例#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);
 }