コード例 #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
ファイル: VoiceControl_Events.cs プロジェクト: yjh0502/Floe
 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);
 }