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