private void button6_Press(object sender, EventArgs e) { try { jPushClient.PushURL(textBox2.Text, "https://www.baidu.com/", textBox1.Text); } catch (cn.jpush.api.common.APIRequestException apiex) { MessageBox.Show(string.Format("{0}/{1}", apiex.Message, apiex.ErrorMessage)); } }
private void button6_Press(object sender, EventArgs e) { client.PushURL(textBox2.Text, "https://www.baidu.com/", textBox1.Text); }