Start() public méthode

public Start ( System.TimeSpan duration ) : void
duration System.TimeSpan
Résultat void
 private void TiempoVibracion(double tiempo)
 {
     objVibrador = VibrateController.Default;
     objVibrador.Start(TimeSpan.FromSeconds(tiempo));
 }
 void segundoPlano_ProgressChanged(object sender, ProgressChangedEventArgs e)
 {
     vibrateCont = VibrateController.Default;
     vibrateCont.Start(new TimeSpan(0, 0, 0, 3, 0));
     segundoPlano.CancelAsync();
 }
 void tt_Tick(object sender, EventArgs e)
 {
     vibrateCont = VibrateController.Default;
     vibrateCont.Start(new TimeSpan(0, 0, 0, 0, 500));
 }
Exemple #4
0
 public void Error()
 {
     vibrateCont = VibrateController.Default;
     vibrateCont.Start(new TimeSpan(0, 0, 0, 0, 500));
 }