示例#1
0
 static void con_OnExceptionRaised(object sender, ExceptionRaiseEventArgs args)
 {
     if (!(sender.GetType() == typeof(Socket)))
     {
         Console.WriteLine("exception source : " + args.raisedException.Source);
         Console.WriteLine("exception raised : " + args.raisedException.Message);
         Console.WriteLine("exception detail : " + args.raisedException.InnerException);
     }
 }
示例#2
0
 void con_OnExceptionRaised(object sender, ExceptionRaiseEventArgs args)
 {
     if (con != null)
     {
         con.send(Encoding.Unicode.GetBytes("0GE_" + myName));
     }
     if (lobby_inst != null)
     {
         lobby_inst.Show();
     }
     this.Hide();
 }
示例#3
0
 void con_OnExceptionRaised(object sender, ExceptionRaiseEventArgs args)
 {
     Application.Exit();
 }