private void btnStop_Click(object sender, RoutedEventArgs e)
 {
     InitializeButtonState();
     _parentControl.Stop(_parentContext);
 }