private void butAdd_Click(object sender, EventArgs e) { connectBD_user.Close(); P_Sev_T psev = new P_Sev_T(); psev.ShowDialog(); Init(); }
private void butEdit_Click(object sender, EventArgs e) { if (EID != null) { connectBD_user.Close(); P_Sev_T psev = new P_Sev_T(EID); psev.ShowDialog(); Init(); EID = null; } else { MessageBox.Show("Сначала выбирите строку"); } }