示例#1
0
文件: XMPP.cs 项目: bwail/xmpp
 private void OnError(object sender, ErrorEventArgs e)
 {
     Logger.ErrorFormat(this, "Error from {0}: {1}", sender, e.Message);
     if (e.Fatal)
     {
         Disconnect();
     }
 }
示例#2
0
 void Errors_OnError(object sender, ErrorEventArgs e)
 {
     MessageBox.Show(e.Message, "Protocol Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
 }
示例#3
0
文件: XMPP.cs 项目: nickwhaley/ubiety
 private void OnError(object sender, ErrorEventArgs e)
 {
     Logger.ErrorFormat(this, "Error from {0}: {1}", sender, e.Message);
 }
示例#4
0
文件: Main.cs 项目: bwail/xmpp
 private static void Errors_OnError(object sender, ErrorEventArgs e)
 {
     MessageBox.Show(e.Message, Resources.Error_Title, MessageBoxButtons.OK, MessageBoxIcon.Error);
 }
示例#5
0
 private static void Errors_OnError(object sender, ErrorEventArgs e)
 {
     MessageBox.Show(e.Message, Resources.Error_Title, MessageBoxButtons.OK, MessageBoxIcon.Error);
 }