private bool DoDelete() { if (ListUser == null || ListUser.Count <= 0) { return(false); } TUser user = new TUser(_dbpath, PassWord); int count = 0; foreach (CUser u in ListUser) { if (user.Delete_User(u)) { count++; } } if (count <= 0) { return(false); } else { return(true); } }