private void button5_Press(object sender, EventArgs e) { try { jPushClient.PushAlertAll(textBox2.Text, textBox1.Text, PushPlatform.android); } catch (cn.jpush.api.common.APIRequestException apiex) { MessageBox.Show(string.Format("{0}/{1}", apiex.Message, apiex.ErrorMessage)); } }
private void button5_Press(object sender, EventArgs e) { client.PushAlertAll(textBox2.Text, textBox1.Text, PushPlatform.android); }