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