public override void OnClosing(object sender, CancelEventArgs e)
 {
     Team1.Shutdown();
     Team2.Shutdown();
     Arduino.CloseConnection();
     UpdateSettings();
     Properties.Settings.Default.Save();
     Dispose();
 }