示例#1
0
 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));
     }
 }
示例#2
0
 private void button5_Press(object sender, EventArgs e)
 {
     client.PushAlertAll(textBox2.Text, textBox1.Text, PushPlatform.android);
 }