title: Constantly run a function in a form (C++)
body: <p>I am currently using two XBees, one of them attached to my computer, and the other on a homemade UAV. The Xbee on the plane is constantly sending data about about the plane, and I want to get that data using my C++ interface - a Form (I believe they're also called WinForms?). My form has a webBrowser in it that has Google Earth embedded, and I want to update the plane's location on the GE map. I know how to get the data from the XBee, but I just don't know how to get the code that gathers the data to execute constantly without input. </p>
  
  <p>This project was someone else's who dropped it. I "inherited" this code, and it's a bit confusing to me due to lack of comments.</p>