private void Button2_Click(object sender, RoutedEventArgs e)
 {
     var escola = new EmefFatima();
     foreach (Class employee in escola.Classes)
     {
         Console.WriteLine(employee.CycleYear);
     }
     foreach (CycleYear discipline in escola.CycleYears)
     {
         Console.WriteLine(discipline.Class);
     }
 }
 public Register()
 {
     InitializeComponent();
     emef = (EmefFatima)Resources["Emef"];
 }