/// <summary> /// 双击用户列表事件 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void UsersList_MouseDoubleClick(object sender, MouseEventArgs e) { int index = UsersList.IndexFromPoint(e.Location); if (index != ListBox.NoMatches) { ShowPath_win pathInfo = new ShowPath_win(UsersList.SelectedIndex, DelUserList); pathInfo.ShowDialog(); } }