private void btnConfirm_Click(object sender, System.Windows.RoutedEventArgs e)
 {
     Button boton = sender as Button;
     TimePickerEventArgs t = null;
     if (boton == btnFree)
     {
         if(this.SelectedTime == 0.0 || this.SelectedTime == 5.0)
             t = new TimePickerEventArgs() { Mic = this.Mic, SelectedTime = MAXIMUM * 10 * 60 };
         else
             t = new TimePickerEventArgs() { Mic = this.Mic, SelectedTime = this.SelectedTime };
     }
     else if (boton == btnOne)
         t = new TimePickerEventArgs() { Mic = this.Mic, SelectedTime = 1 };
     else if (boton == btnFive)
         t = new TimePickerEventArgs() { Mic = this.Mic, SelectedTime = 5 };
     else if (boton == btnTen)
         t = new TimePickerEventArgs() { Mic = this.Mic, SelectedTime = 10 };
     if(t != null)
         Confirm(this, t);
 }
 /// <summary>
 /// Evento para cuando se confirma un tiempo en el controlador TimePicker
 /// </summary>
 /// <param name="sender">El TimePicker que desencadeno el evento</param>
 /// <param name="args">Los argumentos necesarios (microfono y tiempo seleccionado)</param>
 public void TimeConfirmed(object sender, TimePickerEventArgs args)
 {
     OcultarControlTiempo(sender as TimePicker);
     b.AgregarACola(args.SelectedTime, args.Mic);
 }