Esempio n. 1
0
 public void Close()
 {
     try
     {
         VoicePlayBox.Close();
     }
     catch (Exception ex)
     {
         ShowException(ex.Message);
     }
 }
Esempio n. 2
0
 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);
         }
     }
 }