Ejemplo n.º 1
0
 private void InitReplayManager()
 {
     replayManager = new ReplayManager();
     replayManager.PlayRecordEvent    += PlayRecord;
     replayManager.ExportRecordEvent  += ExportRecord;
     replayManager.StopRecordingEvent += RemoveRecoder;
     replayManager.SearchCompleted    += replayManager_SearchCompleted;
     replayManager.LoadRecordsAsync(Properties.Settings.Default.ReplayDir);
     RecordsListBox.ItemsSource = replayManager.Records;
 }
Ejemplo n.º 2
0
 private void replayManager_SearchCompleted(ReplayManager rpmanager)
 {
     RecordsListBox.ItemsSource = replayManager.SearchResult;
 }