Пример #1
0
 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));
     }
 }
Пример #2
0
 private void button4_Press(object sender, EventArgs e)
 {
     client.PushAlert(textBox2.Text, textBox1.Text, textBox1.Text);
 }