private void Button_Click(object sender, RoutedEventArgs e)
 {
     r.Start();
 }