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