示例#1
0
 void _xmpp_OnError(object sender, ErrorEventArgs e)
 {
     MessageBox.Show(e.Message, Resources.Error_Title, MessageBoxButtons.OK, MessageBoxIcon.Error);
 }
示例#2
0
 /// <summary>
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="args"></param>
 public void Error(object sender, ErrorEventArgs args)
 {
     OnError?.Invoke(sender, args);
 }
示例#3
0
 /// <summary>
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="args"></param>
 public void Error(object sender, ErrorEventArgs args)
 {
     if (OnError != null)
     {
         OnError(sender, args);
     }
 }