public void PauseResume(object arg) { if (_recorder.State == RecorderState.Recording) { _recorder.Pause(); StatusText = AppResources.PausedStatusText; PauseResumeButtonText = AppResources.ResumeButtonText; } else { _recorder.Resume(); StatusText = AppResources.RecordingStatusText; PauseResumeButtonText = AppResources.PauseButtonText; } }