private void reset(s_fulluser obj) { user = obj.user; txtcity.Text = user.city; txtdescribtion.Text = user.description; txtfullname.Text = user.fullname; txtnationalcode.Text = user.nationalcode; txttell.Text = user.tell; cmbgender.SelectedIndex = (int)user.nature; }
static void remove(s_user user) { list.Remove(user); client.close(user.id); addremove_e?.Invoke(false, user.id); }