Beispiel #1
0
 private void OnError(object sender, ErrorEventArgs e)
 {
     Logger.ErrorFormat(this, "Error from {0}: {1}", sender, e.Message);
     if (e.Fatal)
     {
         Disconnect();
     }
 }
Beispiel #2
0
 void Errors_OnError(object sender, ErrorEventArgs e)
 {
     MessageBox.Show(e.Message, "Protocol Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
 }
Beispiel #3
0
 private void OnError(object sender, ErrorEventArgs e)
 {
     Logger.ErrorFormat(this, "Error from {0}: {1}", sender, e.Message);
 }
Beispiel #4
0
 private static void Errors_OnError(object sender, ErrorEventArgs e)
 {
     MessageBox.Show(e.Message, Resources.Error_Title, MessageBoxButtons.OK, MessageBoxIcon.Error);
 }
Beispiel #5
0
 private static void Errors_OnError(object sender, ErrorEventArgs e)
 {
     MessageBox.Show(e.Message, Resources.Error_Title, MessageBoxButtons.OK, MessageBoxIcon.Error);
 }