Esempio n. 1
0
        private void butAdd_Click(object sender, EventArgs e)
        {
            connectBD_user.Close();

            Auto_T autot = new Auto_T();

            autot.ShowDialog();

            Init();
        }
Esempio n. 2
0
        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("Сначала выбирите строку");
            }
        }