示例#1
0
 private static void omegle_WebException(object sender, WebExceptionEventArgs e)
 {
     Console.ForegroundColor = ConsoleColor.Red;
     Console.WriteLine("Exception met: {0}", e.Exception.ToString());
     Console.ResetColor();
     Console.WriteLine("Restarting..");
     //Console.ReadKey();
     return;
 }
示例#2
0
文件: MTM.cs 项目: Naarkie/dot-omegle
 private void Stranger2_WebException(object sender, WebExceptionEventArgs e)
 {
     ChatBrowser.PrintMessage("OmegleMTM", "Stranger2 WebException", System.Drawing.Color.DarkGreen);
     Console.Write(e.Exception.ToString());
 }
示例#3
0
 /// <summary>
 /// Handles the WebException event of the omegle class.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="dotOmegle.WebExceptionEventArgs"/> instance containing the event data.</param>
 private void omegle_WebException(object sender, WebExceptionEventArgs e)
 {
     WriteText(e.Exception.Status + ": " + e.Exception.Message, Color.Red);
 }
示例#4
0
文件: Main.cs 项目: dfk789/dot-omegle
 /// <summary>
 /// Handles the WebException event of the omegle class.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="dotOmegle.WebExceptionEventArgs"/> instance containing the event data.</param>
 private void omegle_WebException(object sender, WebExceptionEventArgs e)
 {
     WriteText("Exception: " + e.Exception.ToString(), Color.Red);
 }