private void startHashingButton_Click(object sender, RoutedEventArgs e) { if (!isHashing) beginHashing(); }