Ejemplo n.º 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();
            }
        }
Ejemplo n.º 2
0
        private void AddButton_Click(object sender, EventArgs e)
        {
            AddFormStudent newAddFormStudent = new AddFormStudent(this);

            newAddFormStudent.ShowDialog();
        }