Example #1
0
        private void AddDirector()
        {
            Director director = new Director
            {
                FirstName   = textBox2.Text,
                LastName    = textBox3.Text,
                Nationality = textBox4.Text,
                Birth       = DateTime.Parse(dateTimePicker1.Text.ToString()),
            };

            directorManager.Add(director);
        }