Пример #1
0
        private void EditButton_Click(object sender, EventArgs e)
        {
            Student studnet = _crudStudent.ReadStudentCard(currentFileName);

            using (var newUpdate = new AddFormStudent(this, studnet, currentFileName, FlagAddOrUpdate.Update))
            {
                newUpdate.ShowDialog();
            }
        }
Пример #2
0
        private void AddButton_Click(object sender, EventArgs e)
        {
            AddFormStudent newAddFormStudent = new AddFormStudent(this);

            newAddFormStudent.ShowDialog();
        }