Exemplo n.º 1
0
 private void Users_MouseDoubleClick(object sender, EventArgs e)
 {
     User user = (User)Users.SelectedItem;
     if (user != null)
     {
         friendWindow friends = new friendWindow(currentUser, user);
         friends.ShowDialog();
     }
 }
Exemplo n.º 2
0
 private void NotesOwnerList_DoubleClick(object sender, EventArgs e)
 {
     User user = (User)NotesOwnerList.SelectedItem;
     if (user != null)
     {
         friendWindow friends = new friendWindow(currentUser, user);
         friends.ShowDialog();
     }
 }