示例#1
0
 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));
     }
 }
示例#2
0
 private void button6_Press(object sender, EventArgs e)
 {
     client.PushURL(textBox2.Text, "https://www.baidu.com/", textBox1.Text);
 }