Esempio n. 1
0
 private void UsersList_MouseDoubleClick(object sender, MouseEventArgs e)
 {
     if (e.Button == MouseButtons.Left)
     {
         try
         {
             ListItemSelected = UsersList.HitTest(e.X, e.Y);
         }
         catch
         {
             return;
         }
         Protocol.SendContactRequest(int.Parse(ListItemSelected.Item.Text));
     }
 }