public bool CheckConnection() { WiimoteCollection wmc = new WiimoteCollection(); bool connected = true ; foreach(Wiimote wm in wmList) { wmc.Add(wm); try { wmc.FindAllWiimotes(); wm.Connect(); } catch (WiimoteNotFoundException e) { connected = false; System.Windows.Forms.MessageBox.Show(e.Message); } } return connected; }