Пример #1
0
 /// <summary>
 /// When the user selects an audio file from the file system
 /// </summary>
 /// <param name="uri">URI of the chosen audio file</param>
 async void ToneFileChosen(Uri uri)
 {
     System.Diagnostics.Debug.WriteLine("pcl: " + uri.LocalPath);
     _newToneUri                   = uri;
     _namingPopupPage              = new AlarmToneNamingPopupPage();
     _namingPopupPage.ToneNameSet += OnNewToneNameSet;
     FileNeedsNamed                = true;
 }
Пример #2
0
 async void EditAlarmTone(AlarmTone alarmTone)
 {
     _namingPopupPage = new AlarmToneNamingPopupPage(alarmTone);
     await PopupNavigation.Instance.PushAsync(_namingPopupPage);
 }