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