private void btn_delete_Click(object sender, RoutedEventArgs e) { userContract.DeleteUser(userCollection[list_user.SelectedIndex].ID); RefreshData(); }