Esempio n. 1
0
        /// <summary>
        /// Load source code
        /// </summary>
        /// <param name="path">Path to source code file</param>
        private void LoadSourceCode(string path)
        {
            var scPreview = new SourceCodePreview();

            scPreview.LoadSourceCodeFile(path);
            gContent.Children.Add(scPreview);
        }
Esempio n. 2
0
 /// <summary>
 /// Load source code
 /// </summary>
 /// <param name="path">Path to source code file</param>
 private void LoadSourceCode(string path)
 {
     var scPreview = new SourceCodePreview();
     scPreview.LoadSourceCodeFile(path);
     gContent.Children.Add(scPreview);
 }