示例#1
0
        private void Omegle_UnhandledResponse(object sender, UnhandledResponseEventArgs e)
        {
            DisplayMessage(String.Format("Unhandled response: {0}!", e.Response));

            RemoteUser user = sender as RemoteUser;

            if (!user.Omegle.IsConnected || e.Response.Contains("error"))
            {
                RemoveUser(user);
            }
        }
示例#2
0
 void Omegle_UnhandledResponse(object sender, UnhandledResponseEventArgs e)
 {
     if (this.UnhandledResponse != null)
         this.UnhandledResponse(this, e);
 }