Пример #1
0
        private void butAdd_Click(object sender, EventArgs e)
        {
            connectBD_user.Close();

            Avans_Pay_T avans = new Avans_Pay_T();

            avans.ShowDialog();
            Init();
        }
Пример #2
0
        private void butEdit_Click(object sender, EventArgs e)
        {
            connectBD_user.Close();

            if (EID != null)
            {
                connectBD_user.Close();
                Avans_Pay_T avans = new Avans_Pay_T(EID);
                avans.ShowDialog();

                Init();
            }
            else
            {
                MessageBox.Show("Сначала выбирите строку");
            }
        }