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); } }
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"); }
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; }
private void dcc_Error(object sender, ErrorEventArgs e) { this.Write("Error", e.Exception.Message); this.IsConnected = false; this.DeletePortForwarding(); }
private void OnConnectionError(ErrorEventArgs e) { this.RaiseEvent(this.ConnectionError, e); }
private void _conn_ConnectionError(object sender, ErrorEventArgs e) { this.OnConnectionError(e); }