private void btnCicloFin_Click(object sender, RoutedEventArgs e)
 {
     Mouse.Capture(null);
     btnCicloFin.BorderBrush     = Brushes.DarkBlue;
     btnCicloFin.BorderThickness = new Thickness(1);
     Grid.SetZIndex(grdVacations, 90);
     Grid.SetZIndex(grdStartCycle, 91);
     Grid.SetZIndex(grdEndCycle, 94);
     Cycle.EnableCalendars(this, 3);
     btnVacaciones.BorderThickness  = new Thickness(0);
     btnCicloInicio.BorderThickness = new Thickness(0);
     btnClean.BorderThickness       = new Thickness(0);
 }
 private void btnEdit_Click(object sender, RoutedEventArgs e)
 {
     Cycle.EnableCalendars(this, 0);
 }