Exemple #1
0
 public void OpenFile(string filename, Stream file)
 {
     ByamlViewer.OpenByml(file, filename);
 }
Exemple #2
0
        public void OpenFile(string filename, Stream file)
        {
            StreamReader t = new StreamReader(file, Encoding.GetEncoding(932));

            ByamlViewer.OpenByml(Byaml.XmlConverter.ToByml(t.ReadToEnd()), filename);
        }