public void Close() { try { VoicePlayBox.Close(); } catch (Exception ex) { ShowException(ex.Message); } }
private void PlayRecord() { if (RecordInfoItem != null) { try { VoicePlayBox.MainPage = PageParent; VoicePlayBox.ListSftpServers = ListSftpServers; VoicePlayBox.ListDownloadParams = ListDownloadParams; VoicePlayBox.Service03Helper = Service03Helper; VoicePlayBox.ListEncryptInfo = ListEncryptInfo; VoicePlayBox.RecordInfoItem = RecordInfoItem; VoicePlayBox.IsAutoPlay = true; VoicePlayBox.Play(true); } catch (Exception ex) { App.ShowExceptionMessage(ex.Message); } } }