예제 #1
0
        /// <summary>
        /// Load audio file
        /// </summary>
        /// <param name="path">Path to audio file</param>
        private void LoadAudio(string path)
        {
            var vidPreview = new AudioVideoPreview();

            vidPreview.LoadAudio(path);
            gContent.Children.Add(vidPreview);
        }
예제 #2
0
        /// <summary>
        /// Load video file
        /// </summary>
        /// <param name="path">Path to video file</param>
        private void LoadVideo(string path)
        {
            var vidPreview = new AudioVideoPreview();

            vidPreview.LoadVideo(path);
            gContent.Children.Add(vidPreview);
            gContent.Background = Brushes.Black;
        }
예제 #3
0
 /// <summary>
 /// Load audio file
 /// </summary>
 /// <param name="path">Path to audio file</param>
 private void LoadAudio(string path)
 {
     var vidPreview = new AudioVideoPreview();
     vidPreview.LoadAudio(path);
     gContent.Children.Add(vidPreview);
 }
예제 #4
0
 /// <summary>
 /// Load video file
 /// </summary>
 /// <param name="path">Path to video file</param>
 private void LoadVideo(string path)
 {
     var vidPreview = new AudioVideoPreview();
     vidPreview.LoadVideo(path);
     gContent.Children.Add(vidPreview);
     gContent.Background = Brushes.Black;
 }