private void ChangeUser_Click(object sender, EventArgs e) { try { int selected = ListView.SelectedIndices[0]; //MessageBox.Show(user.Get_Item("Login", ListView.Items[selected].SubItems[5].Text.ToString(), ConditionType.Equal).Id.ToString()); long Id = user.Get_Item("Login", ListView.Items[selected].SubItems[5].Text.ToString(), ConditionType.Equal).Id; //MessageBox.Show(Id.ToString()); AdminChangeUser F = new AdminChangeUser(this, Id); F.Show(); this.Hide(); } catch { MessageBox.Show("Ничего не выбрано"); } this.Refresh_list(); }
private void BackButton_Click(object sender, EventArgs e) { back.Show(); this.Close(); }