private void StopAllFunctionBtn(object sender, RoutedEventArgs e)
 {
     if (_Service != null)
     {
         _Service.StopAllFunction();
     }
     else
     {
         MessageBox.Show("Нет сервиса для остановки");
     }
 }