Ejemplo n.º 1
0
 void ReleaseDesignerOutlets()
 {
     if (FanTeam != null)
     {
         FanTeam.Dispose();
         FanTeam = null;
     }
     if (HeadsetId != null)
     {
         HeadsetId.Dispose();
         HeadsetId = null;
     }
     if (HeadsetIdTableCell != null)
     {
         HeadsetIdTableCell.Dispose();
         HeadsetIdTableCell = null;
     }
     if (HeadsetType != null)
     {
         HeadsetType.Dispose();
         HeadsetType = null;
     }
     if (InGameToggle != null)
     {
         InGameToggle.Dispose();
         InGameToggle = null;
     }
     if (PlayerId != null)
     {
         PlayerId.Dispose();
         PlayerId = null;
     }
     if (PlayerIdCell != null)
     {
         PlayerIdCell.Dispose();
         PlayerIdCell = null;
     }
     if (PlayerName != null)
     {
         PlayerName.Dispose();
         PlayerName = null;
     }
 }