/// <summary>
 /// Sets the API key to use.
 /// </summary>
 /// <param name="str">The API key.</param>
 public void setAPIKey(string str)
 {
     apikey.setAPIKey(str);
 }
 private void button1_Click(object sender, EventArgs e)
 {
     myKey.setAPIKey(keyField.Text);
     this.Close();
 }