Esempio n. 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);
            }
        }
Esempio n. 2
0
 void Omegle_UnhandledResponse(object sender, UnhandledResponseEventArgs e)
 {
     if (this.UnhandledResponse != null)
         this.UnhandledResponse(this, e);
 }