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