示例#1
0
        private void toolStripButtonAdd_Click(object sender, EventArgs e)
        {
            Class_Abonent    A  = new Class_Abonent();
            Form_EditAbonent _f = new Form_EditAbonent(A);

            _f.ShowDialog();
            Load_Data();
        }
示例#2
0
        private void toolStripBupdate_Click(object sender, EventArgs e)
        {
            Class_Abonent    A  = (Class_Abonent)BSAbonent.Current;
            Form_EditAbonent _f = new Form_EditAbonent(A);

            if (A != null)
            {
                _f.ShowDialog();
                Load_Data();
            }
            else
            {
                MessageBox.Show("Выберите абонента");
            }
        }