示例#1
0
		private void Session_ConnectionError(object sender, ErrorEventArgs e)
		{
			if (this.IsServer)
			{
				this.Write("Error", string.IsNullOrEmpty(e.Exception.Message) ? e.Exception.GetType().Name : e.Exception.Message);
			}
		}
示例#2
0
 private void dcc_Error(object sender, Floe.Net.ErrorEventArgs e)
 {
     this.Status     = FileStatus.Cancelled;
     this.StatusText = "Error: " + e.Exception.Message;
     if (_pollTimer != null)
     {
         _pollTimer.Dispose();
     }
     this.DeletePortForwarding();
     App.DoEvent("dccError");
 }
示例#3
0
 private void voice_Error(object sender, ErrorEventArgs e)
 {
     System.Diagnostics.Debug.WriteLine(e.Exception.ToString());
     MessageBox.Show("An error occurred and voice chat must stop: " + e.Exception.Message);
     this.IsChatting = false;
 }
示例#4
0
		private void dcc_Error(object sender, ErrorEventArgs e)
		{
			this.Write("Error", e.Exception.Message);
			this.IsConnected = false;
			this.DeletePortForwarding();
		}
示例#5
0
 private void OnConnectionError(ErrorEventArgs e)
 {
     this.RaiseEvent(this.ConnectionError, e);
 }
示例#6
0
 private void _conn_ConnectionError(object sender, ErrorEventArgs e)
 {
     this.OnConnectionError(e);
 }