private void bDelete_Click(object sender, EventArgs e) { try { if (this.listView.SelectedItems.Count > 0) { UserInfoHelper.DeleteUserInfo(urs[listView.SelectedItems[0].Index]); this.listView.Items.Remove(listView.SelectedItems[0]); } } catch { } }
private void bDelete_Click(object sender, EventArgs e) { try { if (this.listView.SelectedItems.Count > 0) { UserInfoHelper.DeleteUserInfo(urs[listView.SelectedItems[0].Index]); this.listView.Items.Remove(listView.SelectedItems[0]); } } catch { } }